Skip to content

Mosesofmason/website-staging

 
 

Repository files navigation

Freenet Website

Scripts and translations from which the Freenet website is generated.

Requirements

  • Bash
  • PHP5-CGI aptitude install php5-cgi

Usage

Run make-pages.sh. Output is placed in the output directory.

Internals

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.

Setup for Deploying

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.

Deploying

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.

About

Web site (staging area, writable by any developer)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.9%
  • JavaScript 3.0%
  • Shell 0.1%