Skip to content

Client deployment

Nazar Stasyuk edited this page Oct 8, 2019 · 1 revision
  1. Go to the https://nodejs.org/ and downland nodejs.
  2. Moving on to the https://cli.angular.io/ and install Angular CLI.
  3. Clone link of project from GitHub.
  4. Open IntelliJ IDEA or other development environment and create new project: File - New - Project - Project from Version Control and paste link.
  5. Open Settings - Plugins, install Angular CLI Quick Switch(if you use IDEA, if you use WebStorm it's unnecessary).
  6. Install to project: npm install --save-dev @angular-devkit/build-angular.
  7. Insert nodeJs to global envirement variable and NPM to user envirement variable.
  8. Open 'cmd'(Win + r) and go to package where GreenCityClient have been installed. You can use 'dir' command to check current directory, and 'cd' command to change directory.
  9. Run 'ng i' command to install packages which wasn't installed.
  10. Run 'ng serve' command and insert next link into your browser 'http://localhost:4200/' and now you can start your trip in GreenCity. Good luck.