Skip to content

Latest commit

 

History

History
99 lines (65 loc) · 2.35 KB

README.md

File metadata and controls

99 lines (65 loc) · 2.35 KB

stem skeleton v0.1

Cell with predefined dna to be developed as 'backend', 'frontend' or both

use

  1. $ mkdir ./mypetproject
  2. $ cd ./mypetproject
  3. $ npm install outbounder/organic-stem-skeleton angelscripts-stack-use
  4. $ angel stack use core
  5. $ mv ./.npmignore ./.gitignore needed because of this
  6. add any stack upgrades (run $ angel stack list for available options)
  7. $ angel stack configure
  8. git init . && git add --all && git commit

notice 1) angel is organic command line assistant. Either install it via npm install organic-angel -g or install it locally and always run via node ./node_modules/.bin/angel.

notice 2) Running $ angel help will print all available commands to your disposal.

stack upgrades

server

emails support
$ angel stack use emails-support
mongoose models
$ angel stack use mongoose
mongodb stored cookie based sessions
$ angel stack use mongo-sessions
server rendered pages
ejs templates
$ angel stack use ejs-pages
jade templates
$ angel stack use jade-pages

devtools

Refer to devtools or $ angel stack list

$ npm install organic-stem-devtools
$ angel stack use devtools
... any other devtools stack upgrades (see them via $ angel stack list)

frontend SPAs

backbone + jade templates
$ angel stack use jade-backbone
angular1
$ angel stack use angular1
react + flux
$ angel stack use react-flux

how to run tests

  1. define mock-stemskeleton.json into the repo's root folder
$ cd organic-stem-skeleton
$ echo '"/full/path/to/stem-seed"' > mock-stemskeleton.json
  1. optimize performance and install all stack upgrades
$ cd /full/path/to/stem-seed
$ npm install angelscripts-stack-use
$ npm link /full/path/to/organic-stem-skeleton
$ angel stack use core
$ npm install orgainc-stem-devtools
$ angel stack use devtools
$ angel stack use devtools-client
$ angel stack use devtools-less
$ angel stack use devtools-webpack
$ angel stack use devtools-assets
$ git init . && git add --all && git commit
$ angel stack use angular1
$ angel stack use jade-backbone
$ angel stack use react-flux
$ git reset --hard HEAD