This repository was archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Running
Junha Park edited this page Jan 25, 2020
·
16 revisions
To run the application on a local machine, you will need to setup a Python 3 virtual environment and run it through there.
If you don't have the repository already, run git clone https://github.com/park-junha/PlanForGrad. Info on Git installation here.
If you are running the master copy of the app, make sure your master is up to date: git checkout master && git pull. You don't need to run this if you just cloned the repository.
You will need Python3 and Pip3. If you don't have them, read this to install.
- Run
mkdir ~/.virtualenvto make a folder for your environment in your Home directory. - Run
python3 -m venv ~/.virtualenv/PlanForGradto make the virtual environment. You don't have to name it PlanForGrad. - Active it with
source ~/.virtualenv/PlanForGrad/bin/activate. - Navigate to your local repository. (
cd <path-to-repository>) - Run
pip3 install -r requirements.txtto install Python dependencies to the virtual environment.
- Activate your virtual environment with
source ~/.virtualenv/PlanForGrad/bin/activate. If you haven't yet created it, see below section. - Navigate to your local repository. (
cd <path-to-repository>) - Run
python3 main.py <password-to-database>. Ask jpark3@scu.edu for the password. - Open your browser and navigate to
localhost:5000on your web browser to access the frontend.
- Install Python.
- Navigate to your local repository. (
cd <path-to-repository>) - Run
python main.py <password-to-database>. Ask jpark3@scu.edu for the password. - Open your browser and navigate to
localhost:5000on your web browser to access the frontend.