Git Product home page Git Product logo

website-old's Introduction

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.

Redirects:

  • From https://freenetproject.org/jnlp go to GitHub releases.
  • From https://downloads.freenetproject.org/latest/ go to somewhere else on downloads.freenetproject.org.

Setup for Deploying

If you have not done so already, on Osprey set up clones of website and fred. 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.git
git clone git://github.com/freenet/fred.git

Then clone the scripts repo, which contains the deploy-website script.

git clone git://github.com/freenet/scripts.git

deploy-website will assume the website, fred, 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 repository:

git push [email protected]:freenet/website.git master

On Osprey pull and deploy the updated version of the website:

cd scripts
./deploy-website -u

The script will confirm version information and languages before deploying.

website-old's People

Contributors

toad avatar nextgens avatar sanity avatar thynix avatar dieppe avatar merlinux avatar tmarkus avatar medrado avatar hernic avatar morrio avatar creap avatar alex-min avatar bombe avatar cacopatane avatar artefact2 avatar debbiedub avatar kcchouette avatar zidel avatar mosesofmason avatar samwilson avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.