My Name is John Hayes, and this is my portfolio
The app is a simple website that I built to showcase my skills. It is a single page application that uses the Flask framework. The app is deployed on Google App Engine.
I've set some variables in main.py
to make it easier to maintain the app.
The variables are:
- name
- role
- phone
- location
- Templated html files are located in
templates/
- App engine configuration is located in
app.yaml
- The Flask code is located in
main.py
- Images are located in
static/images/
- My resume is located in
static/static/general_swe_resume_lenz_paul_nov_2021.pdf
-
To deploy this app live:
- From a terminal, with Google Cloud SDK OR from the Google's cloud shell:
cd
into theportfolio-template/
folder which contains theapp.yaml
config file (e.g.:cd portfolio-template
)- Deploy the web app:
gcloud app deploy
- From a terminal, with Google Cloud SDK OR from the Google's cloud shell:
-
To test this app locally:
-
From Google's cloud shell:
-
From your local machine's terminal (your computer), with Python installed:
- Create a virtual environment:
python3 -m venv env
- Activate the virtual environment:
source env/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Run the app:
The url for the app will be displayed in the terminal (e.g. Running on http://127.0.0.1:5000/).
python main.py
- Create a virtual environment:
-