Skip to content

cpwrs/carsonp.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

carsonp.net

Enter the dev environment with nix develop. Start the server locally with an optional host and port argument:

python3 app/backend.py --host 127.0.0.1 --port 8000

Deploy

Age recipients defined in secrets.nix have deploy privileges and can decrypt the prod environment secrets. Build the OS locally and deploy to the instance:

nix run .#deploy

This NixOS config sets up nginx, grabs Let's Encrypt certificates, opens TCP ports, and defines a systemd service to start the web app.

About

Personal website

Resources

License

Stars

Watchers

Forks