Educative Webapp for Teaching Basic Concepts of Cybersecurity
- Install pip3
sudo apt-get install python3-pip
- Install virtualenv
pip3 install virtualenv
- Change Directory
cd <project-path>/CyberEd_4907/
- Create Virtual Env
virtualenv -p python3 venv
- Activate Virtual Env
source venv/bin/activate
- Install Project Requirements
pip3 install -r requirements.txt
- Add node.js Virtual Env to Existing venv
nodeenv -p
- Update to Latest npm Version
npm install -g npm
- Install react Dependencies
npm install
- Deactivating Virtual Env
deactivate
-
Download & Install Python 3.11.5
- Click this link to download Python 3.10.7 executable, the default installation should install pip on your Windows machine as well.
- Add Python & pip to the PATH variable
- Open the Run dialog box by pressing the Windows key + R.
- Type in sysdm.cpl and press Enter to access System Properties.
- Under the the Advanced tab click Environment Variables
- Under User variables select Path and click Edit.
- Click New and the following paths seperately:
C:\Users\{YOUR_USER}\AppData\Local\Programs\Python\Python311 C:\Users\{YOUR_USER}\AppData\Local\Programs\Python\Python311\Scripts
- Under System variables select Path and click Edit
- Click New and the following path:
C:\Users\{YOUR_USER}\AppData\Local\Programs\Python\Python311
-
Install virtualenv
pip install virtualenv
-
Change Directory
cd <project-path>/CyberEd_4907/
-
Create Virtual Env
virtualenv -p python3 venv
-
Activate Virtual Env
source venv/Scripts/activate
-
Install Project Requirements
pip install -r requirements.txt
-
Add node.js Virtual Env to Existing venv
nodeenv -p
-
Update to Latest npm Version
npm install -g npm
-
Install Node Dependencies in package.json. Run this command for the Backend and Frontend
npm install
-
Deactivating Virtual Env
deactivate