Skip to content

Source code for my personal website, telpirion.com.

Notifications You must be signed in to change notification settings

telpirion/telpirion_com

Repository files navigation

Telpirion.com

This code repository contains the source code for Telpirion.com, my personal web site. This code is provided for educational and illustrative purposes only.

All code provided here is copyrighted by me, Eric Schmidt.

You can find a deployed version of the site here.

Documentation

The website is built on Google Cloud AppEngine, using Python and Angular.

Build and run the app (dev environment)

To run the Angular app on the Angular runserver, use the following command from the src folder:

ng serve --open

To build the Angular app, use the following command from the src folder:

ng build --prod

To build the entire site using the Gulp file, use the following command from the src folder:

gulp build

To run the site, use the following command from the root folder:

go run .

To reinstall all of the NodeJS dependencies (for example, after changing git branches), use the following command:

npm install

Work with the container

To rebuild the Docker image, run the following command from the root folder:

docker build -t telpirion-com .

To run the site from a Docker container, run the following command from the root folder:

docker run -it --rm -p 8080:8080 --name telpirion-com-running telpirion-com

Deploy the app

First, add a version tag for this image:

docker tag telpirion-com \
us-west1-docker.pkg.dev/telpirion-com/telpirion-com/base-image:v1

Next, update the image in the Google Cloud Artifact registry:

docker push us-west1-docker.pkg.dev/PROJECT_ID/telpirion-com/base-image:TAG

Finally, go to Cloud Run and create a service from this image.

References

Angular:

Gulp:

About

Source code for my personal website, telpirion.com.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published