Source code for sudweb.fr/2015 event website.
Just some good old static webpages. We like to KISS.
We mainly rely on the Node.js® platform.
Node can be easily installed with Homebrew on Mac OS X, just type:
brew install node
You also need to install GraphicsMagick.
brew install graphicsmagickAPI_KEY=xxx ACCESS_TOKEN=xxx npm run get-attendees
npm run build-attendeesClone the repo:
git clone https://github.com/sudweb/2015.git sudweb2015 && cd sudweb2015To install all dependencies mentioned in the package.json file, type:
npm install
In order to automatically check for HTML and Sass changes, type:
npm run watch
$ npm run watch
Running "htmlhint:build" (htmlhint) task
>> 6 files lint free.
Running "sass:dist" (sass) task
Running "watch" task
Waiting...To ease browser debugging, we may add support for browsersync soon, but for now there's no live reload.
Once you are satisfied and are ready to deploy on sudweb.fr/2015, proceed as below:
npm run deploy-prod && ssh sudweb 'cd www/2015 && git pull'sudweb is a hostname configured in ~/.ssh/config:
# Sud Web
Host sudweb
Hostname ssh.alwaysdata.com
User sudweb
Notice: In order to be able to deploy, you need to add an SSH key on your Github account. You can also add your key in the .ssh/authorized_keys file on the server.
To share what you have done without publishing it live, use the following command:
npm run deploy-devThe content will be available on http://<your username>.github.io/2015.
You can also create an issue on GitHub, if you have found a bug.
If you wanna help, you may want to fork the repo, then commit your changes and open a pull request.
Made with love by Sud Web Team.

