nodejs + organic implementation of varnalab site
HTML JavaScript CSS CoffeeScript
Latest commit 21b3342 May 24, 2017 @t0d0r t0d0r committed on GitHub Merge pull request #82 from pau4o/google-map-embeding
update code for embeding google map

README.md

varnalab.org

install

  1. install nodejs v0.10.24 or use nvm
  2. git clone git@github.com:VarnaLab/varnalab.org.git
  3. cd varnalab.org && npm install
  4. node varnalab.org.js
  5. setup /dna/secrets.json
  6. setup /accesstoken.json
  7. goto http://localhost:8080

scripts

Every .js in /scripts folder can be executed via node, example

$ node scripts/import-blogposts

import old blogposts from blogger

$ node scripts/import-blogposts

release develop to master branch

$ npm run release

release to staging

$ node scripts/upgrade-staging.js

release to production

$ node scripts/upgrade-production.js

prebuild all js/css assets

$ CELL_MODE=staging node scripts/prebuild-assets.js

change default launch port

$ PORT=1337 node varnalab.org

run tests

  1. setup /dna/_test/secrets.json
  2. setup /accesstoken.json to match the same value as within tests/helpers/index.js