Skip to content

Instantly share code, notes, and snippets.

@CamilleMo
Created May 12, 2017 04:54
Show Gist options
  • Save CamilleMo/5920204d955e267435f821478ed1fd95 to your computer and use it in GitHub Desktop.
Save CamilleMo/5920204d955e267435f821478ed1fd95 to your computer and use it in GitHub Desktop.
Express Workflow
npm install express-generator -g
express --view=pug passport-local-express
J’ai eu un problème d’autorisations sur /usr/local :
réglé grace à : sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
install dependencies:
$ cd passport-local-express && npm install
run the app:
$ DEBUG=passport-local-express:* npm start
——————————————
git init
git add .
git commit -am ‘Initial commit’
git remote add origin https://github.com/CamilleMo/Node_Express_Passport_Local.git
git remote -v
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment