nodejs + organic implementation of varnalab site
HTML JavaScript CSS CoffeeScript
Pull request Compare This branch is even with develop.
Latest commit c102422 Nov 11, 2015 @outbounder outbounder Version 0.1.12
Permalink
Failed to load latest commit information.
context
dna
lib add support to broadcast event to varnalab google group Nov 4, 2015
plasma
public no CSS files with tabs Sep 26, 2013
scripts update readme Nov 21, 2014
tests fix some small tests due accesstoken registration restrictions Sep 3, 2015
uploads initial commit Feb 24, 2013
.editorconfig Added editor configuration file Sep 5, 2013
.gitignore
Gruntfile.js add missing file Aug 5, 2014
README.md implement exponential backoff for whoisatvarnalab mikrotek reconnect Sep 3, 2015
index.js add support to broadcast event to varnalab google group Nov 4, 2015
package.json Version 0.1.12 Nov 11, 2015
varnalab.org-production.js add remote cell configs Jul 29, 2014
varnalab.org-staging.js

README.md

varnalab.org

install

  1. install nodejs 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