Staging
Last updated
Last updated
Create the .envrc file:
In the root directory of the project, create a file named .envrc
.
The file should contain the following lines (fill in the values or ask Trevor/Britton):
Use direnv to load environment variables:
We recommend using to automatically load the environment variables when you enter the root directory.
Follow the instructions to install direnv and hook into your shell.
Create the virtual environment:
Activate the virtual environment:
Note: If you are using a shell other than bash or zsh, you may need to use a different activate binary.
Install dependencies:
Allow direnv to load the .envrc file:
After setting up your environment, run the server locally with:
Clone the repository:
Using HTTPS:
Using SSH:
Check out the staging branch (or any other branch):
Create a new branch:
Add your changes:
Add everything:
Add specific files:
Commit your changes:
Push your changes:
Push a new branch to origin:
Access logs and metrics:
Navigate to the Tristero project:
Install Flyctl:
Follow the instructions to install Flyctl.
Log in to Flyctl:
Push to rebuild:
After making changes to secrets or environment variables, push to rebuild the staging app.
Go to the and ensure you have an invite.