Install both for your respective platform (windows, osx, etc)
To Install:
vagrant plugin install vagrant-hostsupdater
sudo vagrant up --provider=virtualboxIt will take some time for vagrant machine to build and allow you to ssh into it:
sudo vagrant sshNote
/CooeAPI/ is a mounted folder. This means that if you edit any files on your local box, virtual box
will reload them automatically. You do not have to scp into the VM in order to upload updated files.
Your folder CooeAPI/ on local will always have the same contents as /vagrant/ on the virtual machine
that has been created.
After you ssh into the vagrantbox, you can run the nvm install script
./installNVM.shIf this fails to run, it may be because you have to chmod +x installNVM.sh in order to make it executable.
Run the next 5 lines that are shown in this file, in order to source your .bashrc, install the 6.11.2 version of node,
install pm2 globally and locally install all npm dependencies for cooe api.
The final line in the script npm run dev starts pm2 in dev mode, with hot reloading.
You should be able to view in your browser at 192.168.99.106 or at http://dev.coo-e.com:8080
The rethinkdb data explorer is visibile on port 8081.
If you have issues with networking or other errors when running vagrant commands please contact me on slack
Content type
Image
Digest
Size
330.9 MB
Last updated
almost 9 years ago
docker pull haridasu/cooe-api