andyousay v0.1.0
andyousay
speech and language web server
Git repository
Create a git repository on GitHub or Bitbucket
Basic Command Lines
#1st step: git init
#2nd step:
git config --global user.name “ asini” git config --global user.email “aghilas.sini@irisa.fr”
#2ndbis step git config --list
#3rd step git clone “git repository full pathname”
#4th step: adding new file suppose that you have to add it to the repository git add “filename/dirname”
#5th step git status
#6th step git commit -am “ add or modify existing ones”
#5th step git log
#6th step (for avoiding conflict “somehow!!!” ) git pull
7th step ()
git merge
8th step
git push origin master / or “branch name”
#Further more
git stash git check-out -b
NodeJs
#Node Concepts
Micro Framework (“Express”)
Module
Templates “ejs”
Middle-ware
Create Web App.
1st step
npm install express-generator -g // to generate web project skeleton
2nd step
express --view=ejs “AppName” // based on ejs templates
3rd step
npm install // to install all the requirements
4th step
npm start // to launch the application
5th step
server address:
take a look to myapp/bin/www
#Install nodemon npm install nodemon
6 years ago