Skip to content
Snippets Groups Projects
README.md 680 B
Newer Older
nick's avatar
nick committed
# Project Setup 


To clone this repo use the command: 
```
git clone https://gitlab.rc.uab.edu/mmoo97/flask_user_reg.git
nick's avatar
nick committed

```
## Prerequisites 
Mitchell Moore's avatar
Mitchell Moore committed
- Ensure `pip` is installed (see: https://packaging.python.org/guides/installing-using-pip-and-virtualenv/ ).
- Ensure you have created a virtual environment called `venv` setup within the cloned project.
- Install Flask and other dependencies using the following:
nick's avatar
nick committed
```
Mitchell Moore's avatar
Mitchell Moore committed
pip intall -p requirements.txt
``` 
- Note, to install flask in your own `$HOME` use `pip install --user Flask`.
nick's avatar
nick committed

## Starting the virtual machine for Flask

Mitchell Moore's avatar
Mitchell Moore committed
- Change to the `flask_user_reg` directory.
Mike Hanby's avatar
Mike Hanby committed
- then start virtual machine:
nick's avatar
nick committed
```
source venv/bin/activate 
```