-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
28 lines (20 loc) · 876 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Create a virtualenv that uses python2.7 as default.
python2.7 -m virtualenv ~/venvs/subAuto
# Activate the venv.
source ~/venvs/subAuto/bin/activate
# Install all requirements.
pip2 install -t lib -r requirements.txt
# Run the test server.
./test_server
# View the test server application.
http://localhost:8080
# Connecting to uniblacksfc database.
# in Siteground -> Site Tools -> MySQL -> Remote
# Add the relevant IP address or domain, this will validate connections
# Great resource on pyenv which can be used to change versions of python.
https://realpython.com/intro-to-pyenv/
# Solution to jinja2 template rendering in Flask not working for local
development server:
https://stackoverflow.com/questions/60533259/devappserver-py-for-app-engine-std-on-localhost-is-clearing-os-uname-crashing
# Switch to the correct project.
gcloud config set project sub-auto