Skip to content

Environment Setup

Rui G edited this page Nov 23, 2017 · 6 revisions

Welcome to the ccu wiki!

  1. Download and install last versions of Vagrant and Virtualbox
  2. Run devops\deployVM.bat
  3. Login with username/password: vagrant/vagrant
  4. Inside the machine run ~/ccugitclone.sh
  5. Reboot with 'sudo reboot' command on Start Menu->System Tools->LXTerminal
  6. Make your project directory and go into it (example ccu/frontend or ccu/backend)
  7. if is clear, use 'yo' command and follow the instructions to install the generator of your choice (if you prefer, you can go http://yeoman.io/generators/ to check how to do it easier... for example, you could only run in your prompt 'npm install -g generator-ng-fullstack')
  8. After that you can use 'yo' in your prompt, select the installed generator in the menu and follow the instructions to make the initial version of your project (This step just makes your project start a step further, but you need to complete and adjust the project to your needs)

If you use generator-ng-fullstack, you can check ng-fullstack getting-started https://github.com/ericmdantas/generator-ng-fullstack/wiki/Getting-Started

You need to use 'sudo' before all docker commands because permissions. To list running docker containers you can use 'sudo docker ps' (this way, you can check available ports to connect to each service)

Couchbase is http://172.31.32.253:8091/

CouchDB is http://172.31.32.253:5984/_utils/ (use 1024/512/256 for memory settings)

MongoDB is http://172.31.32.253:27017/

In your desktop menu, you can find Git-Cola and Atom

  • Git-Cola to work with git-repositories;
  • Atom is only a developer IDE that works with Javascript (you can add the packages that you want (ex. color-picker). You can use the tool that you want (try to keep git-repository clean) and even use the VM outside of virtualbox (using IPaddress: 172.31.32.253:<some-port> to connect virtualbox services)

For introdution to Yeoman, you have http://yeoman.io/learning/index.html (with tutoriuals, resources, ets...) In lower part of resources page, you can see some videos that explain how it works, for example...

A 5 Minute Introduction To Yeoman

A 5 Minute Introduction To Yeoman

YEOMAN TUTORIAL - Master Front-End Workflow with Yeoman, Grunt and Bower

YEOMAN TUTORIAL - Master Front-End Workflow with Yeoman, Grunt and Bower

JS Rest API Intro

Like a crash-course, you find almost everything that you should know in 2 min short videos from this playlist. This guy makes great videos and he is producing another list ("MEAN stack with Angular4+") of videos about this subject.

JS Rest API Intro MEAN STACK with Angular4 part 1 - What is MEANo

For now, it's all! Thanks.

Clone this wiki locally