Skip to content

Latest commit

 

History

History
60 lines (56 loc) · 1.2 KB

README.md

File metadata and controls

60 lines (56 loc) · 1.2 KB

My-Glossary

My-Glossary is a python web app that helps you to learn words through various authority dictionaries, and learning curve.

Function now it has

  • User register / login / logout / cancel account

Deployment

Download

git clone https://github.com/ZhongxuanWang/My-Glossary.git
cd My-Glossary

Deploy virtual environment.

virtualenv venv
source ./venv/bin/activate

Install requirements

# install python requirements
python3 -m pip install -r requirements.txt

Deploy database

# python3
from app import db, create_app
db.create_all(app=create_app())

On a development server

# run
python3 ./app.py

On a production server

Learn how to deploy flask app on ubuntu vps Learn how to deploy flask app on raspberrypi

Terminate virtualenv (if you want)

deactivate

Install virtualenv

# Use pip3
pip3 install virtualenv
# Use apt-get
sudo apt-get install virtualenv

Install pip3

# Use apt-get
sudo apt-get install python3-pip
# Use brew
brew install python3