A simple web app with Django in Backend and Angular in Front-End
python -V
.To install python visit https://www.python.org/downloads/
[Python] and download the version supported by your OS. After install verify if python is executing from the terminal.
node -v
and npm -v
to verify if node is installed. Node version and npm version used in this app are 12.18.2 and 6.14.5 respectively.Open your terminal and execute npm install @angular/cli
to install. Verify the installation by running ng version
.
From the base repository run pip install -r requirements.txt
to install all required python libraries.
ng build
to deploy static filesAngular installs all packages required in the project. The npm packages used in this project are:
@angular-devkit/architect
@angular-devkit/core
@angular-devkit/schematics
@schematics/angular
@schematics/update
rxjs
Try running npm install [package name]
to install the package that is not available or gives an error.
Go to base repository and run python manage.py runserver
to run the server.
Visit localhost:8000 in your browser.