diff options
author | dvn <git@dvn.me> | 2018-11-28 21:28:41 +1300 |
---|---|---|
committer | dvn <git@dvn.me> | 2018-11-28 21:28:41 +1300 |
commit | ae45bc57ffa2e4040ea18e50d71b1ffd4fbcca6d (patch) | |
tree | 4493d2648ca390f8c979e103ef421abcd3c0a075 | |
parent | a6ec86195b14d67dfe206c55d7fd779b32cf4767 (diff) | |
download | www-ae45bc57ffa2e4040ea18e50d71b1ffd4fbcca6d.tar.gz www-ae45bc57ffa2e4040ea18e50d71b1ffd4fbcca6d.zip |
Include information on developing using Guix
GNU Guix can be a useful development tool, especially
when using a language like python with many versions
which do not play well together. Therefore I am
using it in order to manage the dependencies to build
the website, and I've added instructions for others
to reproduce.
-rw-r--r-- | README | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -6,6 +6,17 @@ Run "make" to build the HTML. | |||
6 | 6 | ||
7 | Expect it to show up in en/ and other language folders, NOT in the root dir. | 7 | Expect it to show up in en/ and other language folders, NOT in the root dir. |
8 | 8 | ||
9 | Alternatively, creating an ad-hoc development environment containing all of | ||
10 | the necessary software needed to build the HTML files can be easily done | ||
11 | using the GNU Guix functional package manager. | ||
12 | |||
13 | This can be achieved with the following command: | ||
14 | |||
15 | `guix environment --ad-hoc coreutils bash python python-babel python-jinja2 gettext-minimal make -- bash` | ||
16 | |||
17 | After installing the packages, this will drop you into a bash environment | ||
18 | from which you can proceed to run "make". | ||
19 | |||
9 | Commentary: | 20 | Commentary: |
10 | This website has been tested with python 3.6.5 and jinja2 2.9.6. | 21 | This website has been tested with python 3.6.5 and jinja2 2.9.6. |
11 | Since python development in collaborative environments with | 22 | Since python development in collaborative environments with |