This is an Information Security project. As a team, together with our classmates, we are making a web application in Django.
Cloning repository project
git clone https://github.com/skeiigi/ToDoRun.git
Going to the project directory
cd ToDoRun
You need to open Git Bash, find the repository ToDoRun using cd.
IMPORTANT (use "/")
D:/one/two/three/ToDoRun
chmod +x deployment-environment.sh
./deployment-environment.sh
In PowerShell (recommended for Windows)
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
.\deployment-environment.ps1
Creating the viral environment
python -m venv venv # windows
python3 -m venv myenv # mac/linux
Activation the viral environment
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # if error
.\venv\Scripts\Activate.ps1 # windows poweshell
source myenv/bin/activate # mac/linux
Downloading project dependencies
pip install -r requirements.txt
cd src
python manage.py makemigrations
python manage.py migrate
cd ..
Script start
chmod +x project-app.sh
./project-app.sh
In PowerShell (recommended for Windows)
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
.\project-app.ps1
Manual start
cd src
python manage.py runserver