-
Notifications
You must be signed in to change notification settings - Fork 3
Angular setup and build process
Akio Nkodia edited this page Aug 21, 2020
·
10 revisions
- Visit Setting up the local environment and workspace at angular.io
- Perform actions described in prerequisites
- Perform Step 1: Install the Angular CLI of manual
Please note that you might require administrator rights to perform the installation of Angular CLI. You might need to run the commands with sudo in Linux or Mac OS
-
Run following command in your command line
$ python3 --version
or on Windows
$ python --version
Python 3.8.2
-
Install Python if needed by following instructions on Python.org
- Checkout test-site project from https://github.com/jdi-testing/test-site
- Checkout jdi-light from https://github.com/jdi-testing/jdi-light
It is important that checked out test-site and jdi-light folders are placed into same folder - Set working branch of jdi-light to gh-pages
- Perform whatever changes you need (e.g. add ids to some elements)
- Run build_to_jdi-light.sh script from jdi-light folder
$ sh build_to_jdi-light.sh
- Follow the instructions
The script would perform a test build and display it in your browser.
Once you return back to terminal, you will be prompted to either proceed with the changes or terminate the job.
Proceeding would build the js files and place them to jdi-light/angular folder which can then be used by jdi-light project.