Learn how to set up your local development environment for Hoagie Plan
MacOS
frontend/
directory, create a hidden file named .env.local
.backend/
directory, create a hidden file named .env
..env.local.example
and .env.example
, respectively — so that you know which values the app is expecting.cd
into the frontend/
directory and run the following command:package.json
to ensure consistent package versions across environments.cd
into the backend/
directory.Then, create a virtual environment using the following command:hoagie-plan
contained within the .venv
directory.
Activate this virtual environment with the following command:pyproject.toml
, requirements.txt
, and uv.lock
to ensure consistent package versions across environments.cd
into the frontend/
directory:cd
into the backend/
directory:Windows
frontend/
directory, create a hidden file named .env.local
.backend/
directory, create a hidden file named .env
..env.local.example
and .env.example
, respectively — so that you know which values the app is expecting.cd
into the frontend/
directory and run the following command:package.json
to ensure consistent package versions across environments.cd
into the backend/
directory.Then, create a virtual environment using the following command:hoagie-plan
contained within the .venv
directory.
Activate this virtual environment with the following command:pyproject.toml
, requirements.txt
, and uv.lock
to ensure consistent package versions across environments.cd
into the frontend/
directory:cd
into the backend/
directory:Scary-looking `psycopg2` error
PostgreSQL
installed on your system using Homebrew. You can install it by running:PATH
environment variable to avoid issues. You can check this by running:.zshrc
, .bash_profile
, or .bashrc
). For example:Undefined error when I navigate to pages other than homepage