Repository for HoagieCalendar
Before you begin, ensure you have Yarn installed. Make sure you have npm installed before runnning this command:
npm install -g corepackYou can set your yarn version to the latest version with:
yarn set version stableIf your yarn version isn't applied globally, you can install a global version of yarn with:
corepack install --global yarn@4.10.3First, make sure you're in the frontend directory:
cd frontendTo install the necessary dependencies, run:
yarnOnce the dependencies are installed, you can start the development server by running:
yarn devThe app will now be running locally, and you can view it in your browser at localhost:3000.
You can run eslint to find common errors and bugs in your code with:
yarn lintTo try to automatically fix these errors, run:
yarn lint:fixYou can run prettier to check the styling of your code and ensure consistent formatting:
yarn formatTo automatically fix the formatting, run:
yarn format:fixBefore you begin, ensure you have uv installed. We will be using uv as our package manager for the backend. uv can be installed by running:
brew install uvMake sure you are in the backend directory by running:
cd backendCreate a virtual environment using the following command:
uv venv --prompt hoagie-calendar --python 3.13 .venvThis creates a virtual environment named hoagie-calendar contained within the .venv directory. Activate the virtual environment with:
source .venv/bin/activateTo install the relevant backend depedencies, run:
uv syncThis will install all required backend dependencies in the virtual environment.
uv run manage.py runserverThis project is licensed under the MIT License. See the LICENSE file for details.