Scripts and translations from which the Freenet website is generated.
- Bash
- PHP5-CGI
aptitude install php5-cgi
Run make-pages.sh
. Output is placed in the output
directory.
Pages are generated by PHP scripts in pages/
for each language. The contents of the top-level index.php
is used across all pages for consistent formatting.
If you have not done so already, on Osprey set up clones of website-official
and fred-official
. They are used by the deploy script to generate the new version of the website and determine the latest version of Freenet, respectively.
git clone git://github.com/freenet/website-official.git
git clone git://github.com/freenet/fred-official.git
Then clone the scripts
repo, which contains the deploy-website
script.
git://github.com/freenet/scripts.git
deploy-website
will assume the website-official
, fred-official
, and scripts
directories/repos are all in the same directory. Run deploy-website --help
for more information.
From a machine other than Osprey push to the master branch of the website-official repository:
git push [email protected]:freenet/website-official.git master
On Osprey pull and deploy the updated version of the website:
scripts/deploy-website -u
The script will confirm version information and languages before deploying.