This is a list of languages/libraries you'll need to be familiar in to work on this project :-
- Basic HTML
- Basic JavaScript
- Babylon JS : A library to simplify 3D rendering on the HTML Canvas. Click here to get started.
-
If you're on windows, FOR THE LOVE OF GOD, reboot into Linux. Any distro, I don't care.
-
Clone the repo
git clone website-url
- Navigate to the root directory of the project
cd smart-city-web
- Install all the required dependencies using npm (node package manager)
npm install
If you don't have npm installed, click here to install it. (You can check if you do have it installed by simply running npm
in the terminal)
- Compile the typescript files into javascript along with all of their dependencies.
npm run build
Note : I'm using webpack for this - click here if you want to know more about webpack. Else, just run the command and move on.
This command will continue watching for any changes to the code, and automatically recompile when any changes are detected.
- Open a separate terminal and run any webserver of your choice (I prefer python's built in SimpleHTTPServer)
python -m "SimpleHTTPServer"
Note : I use Python v2.7.15
- Open Google Chrome and visit localhost:8000/dist
- Traffic Signals max lights increase
- Implement Base Paper