-
Notifications
You must be signed in to change notification settings - Fork 81
Client deployment
Nazar Stasyuk edited this page Oct 8, 2019
·
1 revision
- Go to the https://nodejs.org/ and downland nodejs.
- Moving on to the https://cli.angular.io/ and install Angular CLI.
- Clone link of project from GitHub.
- Open IntelliJ IDEA or other development environment and create new project: File - New - Project - Project from Version Control and paste link.
- Open Settings - Plugins, install Angular CLI Quick Switch(if you use IDEA, if you use WebStorm it's unnecessary).
- Install to project: npm install --save-dev @angular-devkit/build-angular.
- Insert nodeJs to global envirement variable and NPM to user envirement variable.
- 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.
- Run 'ng i' command to install packages which wasn't installed.
- 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.