diff options
author | ng0 <ng0@n0.is> | 2019-10-28 18:12:04 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-10-28 18:12:04 +0000 |
commit | 899fbe3369f784c3c22faa3672b2f01de4dbf1c4 (patch) | |
tree | 38ba3e179fac98cf995948c6484e09eaf80e1ca1 /README | |
parent | 134a61109b0b48dfeea975ae4936504a2e8ea3ec (diff) | |
download | www-899fbe3369f784c3c22faa3672b2f01de4dbf1c4.tar.gz www-899fbe3369f784c3c22faa3672b2f01de4dbf1c4.zip |
README
Diffstat (limited to 'README')
-rw-r--r-- | README | 34 |
1 files changed, 26 insertions, 8 deletions
@@ -2,31 +2,49 @@ | |||
2 | GNUnet Website | 2 | GNUnet Website |
3 | ============== | 3 | ============== |
4 | 4 | ||
5 | Sourcecode for https://gnunet.org created from the https://taler.net code base. | 5 | Sourcecode for https://gnunet.org created from the https://taler.net |
6 | code base. | ||
6 | 7 | ||
7 | Requirements | 8 | Requirements |
8 | ------------ | 9 | ------------ |
9 | - python3 modules: | 10 | - python3 modules: |
10 | - python3-jinja2, python3-babel | 11 | - python3-jinja2, python3-babel |
11 | - python3 interpreter: | 12 | - python3 interpreter: |
12 | - python 3.7 (although any 3.x version should work) | 13 | - python 3.7 or later. |
13 | - gettext | 14 | - gettext |
14 | - sassc, to compile the stylesheets | 15 | - sassc, to compile the stylesheets |
15 | 16 | ||
17 | general short buildsteps: | ||
16 | 18 | ||
17 | Run "make" to build the HTML. | 19 | ./bootstrap |
18 | If you experience a failure related to a python module, run | 20 | ./configure |
19 | "make" again. | 21 | make |
20 | 22 | ||
21 | Expect it to show up in rendered/en/ and other language folders. | 23 | 'configure' takes arguments, run ./configure --help or ./configure -h |
24 | to find out what could be fitting for you. Generally configure tries | ||
25 | to be smart about detecting names, if it doesn't find them for you, | ||
26 | you should report this as a bug. | ||
27 | |||
28 | GNU make operates on "GNUmakefile", "Makefile" is used by at least | ||
29 | NetBSD make in this context (we do get a speed improvement by | ||
30 | writing different files with different structures optimized for | ||
31 | the make implementation). | ||
32 | |||
33 | Running "make" builds the HTML. | ||
34 | Expect its output to show up in rendered/en/ and other language | ||
35 | folders. | ||
22 | 36 | ||
23 | Run the following to start a python webserver: | 37 | Run the following to start a python webserver: |
24 | BROWSER=firefox make run | 38 | |
39 | make run | ||
40 | or | ||
41 | |||
42 | BROWSER=firefox make run | ||
25 | 43 | ||
26 | Layout / how this comes to be | 44 | Layout / how this comes to be |
27 | ============================= | 45 | ============================= |
28 | 46 | ||
29 | config.mk local variables for values in the Makefile | 47 | config.mk autogenerated file by taler-build-scripts |
30 | static/ contains images, css, PDFs, robots.txt, team-images | 48 | static/ contains images, css, PDFs, robots.txt, team-images |
31 | static/navbar.css CSS for the navigation bar (common/navigation.j2.inc) | 49 | static/navbar.css CSS for the navigation bar (common/navigation.j2.inc) |
32 | static/styles.css CSS for the rest of the website | 50 | static/styles.css CSS for the rest of the website |