-
download and unzip this repo
-
import into visual studio code
-
create python virual enviornment
python -m venv env
-
activate the python virual enviornment
(for windows):.\env\Scripts\activate
(for mac):source env/bin/activate
-
upgrade the pip
python -m pip install --upgrade pip
-
install required libraries
pip install -r requirements.txt
-
add/modify db.yaml file accordingly
-
create accounts table in aws mysql database
CREATE DATABASE feitian;
CREATE TABLE `feitian`.`accounts` ( `id` INT NOT NULL AUTO_INCREMENT, `fullname` VARCHAR(255) NULL, `username` VARCHAR(255) NULL, `password` VARCHAR(255) NULL, `email` VARCHAR(255) NULL, PRIMARY KEY (`id`));
CREATE TABLE `feitian`.`users` ( `id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(255) NULL, `email` VARCHAR(255) NULL, PRIMARY KEY (`id`));
-
run the app
python app.py
-
CTRL+C to quit and type
deactivate
-
Notifications
You must be signed in to change notification settings - Fork 7
zepth517/feitian1
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published