/ctbus_site

A site for ctbus

Primary LanguageHTML

CI/CD Renovate enabled Codacy Badge Known Vulnerabilities

About

This is a personal website for Charlie Bushman.

https://charliebushman.com

Deployment

It is deployed as a serverless flask site using zappa on AWS.

  • git clone git@github.com:Ulthran/ctbus_site.git && cd ctbus_site
  • python -m venv env
  • source env/bin/activate
  • pip install -r requirements.txt
  • pip install -r dev-requirements.txt (for testing and development)
  • zappa deploy
  • zappa update (to update a previously deployed app)
  • zappa tail (to see logs)

To run locally,

  • source env/bin/activate
  • export FLASK_DEBUG=1 && flask --app app/app run

And go to the address given.

Some environment variables are defined in zappa_settings.json but others are secret and are defined in a json file uploaded to a bucket defined by remote_env. For local deployments, just put everything in a .env file.

Contributing

If you have thoughts on how I could improve the site, I'd love to hear them. It is, for now and the foreseeable future, pretty simplistic in design, but I will also be using it as a testing ground for anything in the web app arena I want to learn more about.

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail to me via ctbushman@gmail.com.

License

This site is open-sourced software licensed under the MIT license.