Created
May 12, 2017 04:54
-
-
Save CamilleMo/5920204d955e267435f821478ed1fd95 to your computer and use it in GitHub Desktop.
Express Workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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