mootools / website

MooTools Website - move fast and break things
https://mootools.net
45 stars 31 forks source link

Installation

To install everything you need to clone the repository and submodules (for the docs), install dependencies, build the documentation and run the server:


    git clone git://github.com/mootools/website.git
    cd website
    npm install
    cp config/api_keys.sample.json config/api_keys.json
    cp config/databases.sample.json config/databases.json
    node build/all # optional "--add-keys" to update api_keys.json
    node index

Notes:

Run it

To run it, you can either use node directly.


    node index

Now the website is running on http://localhost:3000.

Alternatively use forever or use supervisor. supervisor watches all files, while wrapup/stylus write to the public folder. It is advised to use supervisor --ignore public index.

Like to help?

We have a Trello board that you can follow and comment on. Also you can find opened issues and create pull requests.

Folder structure

Adding new release of project (untested as of 2014-11-04)


    node build/release [project] [tag]

this command should update the package.json configuration fields. After that doing as node build/all will clone the repository and build docs etc.