This nodejs-backend uses some ES6 (not everything is usable yet :/ ) and listen on an IPv6 Socket.
Starting this requires the 'vagrant-triggers' plugin. Please install via:
TODO: Docker beschreiben
vagrant plugin install vagrant-triggers
vagrant plugin install vagrant-docker-compose
If you want to run this, simply run the following command and the nodejs-server is started for you.
vagrant up
- If you get unexpected behavior from you virtual mashine while Running: Restart it
- If your mashine starts with tons of unreadable stuff. Try:
vagrant halt vagrant up --provision
- If this isn't solved do something like this:
vagrant destroy vagrant up
Please don't cry before you used the FAQ!
- If your box don't start properly try to install the VirtualBox Extension Pack.
- Do NOT use umlauts in your home-path ($HOME) when using vagrant there (Wind**** sucks)
To install the neccessary npm-modules do:
cd src
npm install
cd ../client
npm install
To enable external access to MongoDB run this on your console:
vagrant ssh -c "sudo sed -ri 's/^(.*?)bindIp/# bindIp/g' /etc/mongod.conf; sudo systemctl restart mongod"
vagrant ssh -c "sudo journalctl -ef"
Language and Frameworks > NodeJS and NPM
Here click the Enable Button. This should automatically change the Usage Scope to NodeJS for the entire Project.
Enter in your File > Settings Repository
:
[email protected]:content-loops/webstorm-settings.git
Please install the following Plugins in your Webstorm under:
File > Settings > Plugins
- bash support
- .ignore
- gittoolbox
- gitlab projects
- latex
- markdown support
- mongo plugin
- nginx support
- puppet support
- regexptester
- settings repository
- spell checker english
- spell checker german
- vagrant
npm install -g jscs
Language and Frameworks > JavaScript > Code Quality > JSCS
Simply check Enabled. The other Fields should be filled automatically.
Language and Frameworks > JavaScript > Code Quality > JSLink
Here again: Simply check the Enabled. One more tweak is neccessary to use it: Check the Use Config in the upper-right corner.