DEV Community

ShulyAvraham
ShulyAvraham

Posted on • Edited on

Deploy and run the OSDC website locally

Follow these steps to deploy the OSDC code and run the website locally

  • Assuming you have Python installed locally on a Linux machine or WSL (Windows Subsystem for Linux) on Windows
  • Run the following on Linux shell:
$ git clone https://github.com/ShulyAvraham/osdc-2023-01-public.git
$ cd osdc-2023-01-public
$ sudo apt install python3-pip # If you don't already have one
$ pip install -r requirements.txt
$ python generate.py 
$ python app.py
Enter fullscreen mode Exit fullscreen mode

Top comments (4)

Collapse
 
kobkob2018 profile image
kobkob2018

@shulyavraham , this happened when I tried to follow:

kobi@kobi-ThinkPad:/var/www/html/osdc-2023-01-public$ pip install -r requirements.py

Command 'pip' not found, but can be installed with:

sudo apt install python3-pip

Enter fullscreen mode Exit fullscreen mode
Collapse
 
kobkob2018 profile image
kobkob2018

also, after installing pip:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.py'

Enter fullscreen mode Exit fullscreen mode
Collapse
 
shulyavraham profile image
ShulyAvraham

Sorry, my mistake. It should be:

pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode
Collapse
 
kobkob2018 profile image
kobkob2018

thanks