-
todo
- Python 3.6.x (3.7.x is not supported)
- If you haven't installed anaconda on your computer, here is the URL link to Download Anaconda
- Virtualenv
- Mac OS or Linux
$ sudo apt-get install python3-venv
- Click the top-right
Fork
button and fork my repo to your own repo - Clone your repo to your local computer
$ git clone https://github.com/<your_username>/Islandr.git
$ cd Islandr
- Create Virtualenv
$ python3 -m venv venv
- Add FLASK_APP to your activate shell file
$ vim venv/bin/activate
Add this line at the buttom of activate file
export FLASK_APP=recraft.py
Save and exit the file by pressing `Contrl+C` and `:wq`
- Activate Virtualevn and install dependencies
(venv)$ source venv/bin/activate
(venv)$ pip install -r requirements.txt
- Create index for search function and create database
(venv)$ flask deploy
- Run your flask app
(venv)$ flask run
- Go to http://127.0.0.1:5000/ and see the app running
Author | Tianyi Lu |
---|---|
[email protected] |