From 6dfe939f336678d093a0305bb2754c16dfd07cab Mon Sep 17 00:00:00 2001 From: Anil Chandra Naidu Matcha Date: Tue, 2 May 2023 14:53:27 +0530 Subject: [PATCH] Create steps_to_run.md --- steps_to_run.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 steps_to_run.md diff --git a/steps_to_run.md b/steps_to_run.md new file mode 100644 index 0000000..0917e2b --- /dev/null +++ b/steps_to_run.md @@ -0,0 +1,18 @@ +# Server + +1. To run server, install virtualenv first https://virtualenv.pypa.io/en/latest/ and create a new virtual environment to load all necessary python packages + +2. Go to server folder and install all necessary packages using command "pip install -r requirements.txt" + +3. Set environment variables FLASK_ENV=dev and FLASK_APP=webserver.py + +4. Create a db for storing all the info using commands i) flask db init ii) flask db migrate iii) flask db upgrade + +5. Run the server using python webserver.py + + +# Client + +1. To run client, go to client folder and do npm install + +2. Now run "npm start" and this should start the client