47 lines
764 B
Markdown
47 lines
764 B
Markdown
## Magic: The Gathering trading card game commander life tracking tool.
|
|
|
|
Powered by flask
|
|
|
|
# create virtual environment
|
|
python3 -m venv VIRTUAL_ENVIRONMENT_NAME
|
|
|
|
# enter virtual environment
|
|
source ./VIRTUAL_ENVIRONMENT_NAME/bin/activate
|
|
|
|
# run module bundler
|
|
npm run build
|
|
|
|
# create ssh tunnel to vps hosting db
|
|
ssh -i /path/to/your/key.pem -L 5433:localhost:5433 user@your-vps-ip -N
|
|
|
|
# host
|
|
for machine:
|
|
python3 -m flask run
|
|
|
|
for local network:
|
|
python3 -m flask run --host=0.0.0.0
|
|
|
|
|
|
files dedicated to each page:
|
|
CSS
|
|
page
|
|
HTML
|
|
page
|
|
row
|
|
JavaScript
|
|
page
|
|
api
|
|
router
|
|
base - navigation buttons
|
|
PostgreSQL
|
|
get
|
|
save
|
|
table
|
|
staging table
|
|
audit table
|
|
Python
|
|
business object
|
|
controller
|
|
datastore
|
|
form
|
|
model |