Skip to content

Google-Cloud-Tech-Career-Training/portfolio-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Portfolio website

👋 Hi! I'm Lenz Paul. I'm a programmer from Vancouver, Canada.

This is the repository for my portfolio.


The project

Technologies used

I've used the following technologies:

The app

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
  • email
  • location

Folder structure

  • 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

Deployment

  • To deploy this app live:

    • From a terminal, with Google Cloud SDK OR from the Google's cloud shell:
      • cd into the portfolio-template/ folder which contains the app.yaml config file (e.g.: cd portfolio-template)
      • Deploy the web app: gcloud app deploy
  • To test this app locally:

    • From Google's cloud shell:

      • cd into the portfolio-template/ folder which contains the app.yaml config file
        • e.g.: cd portfolio-template
      • Run the following command to run the web server locally dev_appserver.py app.yaml
      • View the website by clicking on preview on port 8080 (see image below) image
    • 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:
        python main.py
        
        The url for the app will be displayed in the terminal (e.g. Running on http://127.0.0.1:5000/).

About

An example portfolio website

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published