docker login
.docker run -p 8000:8000 --rm -it $(docker build -q .)
.
make run
.Install pnpm
curl -fsSL https://get.pnpm.io/install.sh | sh -
.Install python dependencies
python3 -m pip install -r requirements.txt
.Install django-cors-headers
python3 -m pip install django-cors-headers==4.3.1
.Run python environment
python3 -m venv ./
.Upgrade pip
python3 -m pip install --upgrade pip
.Activate local python env.
source bin/activate
.If you need, alias python3
to python
.
echo 'alias python="python3"' >> ~/.zshrc && source ~/.zshrc;
Go to http://localhost:8000 in your web browser and view the website locally! 🎉
settings.py
file under ALLOWED_HOSTS
.main
.flyctl
brew install flyctl
.flyctl deploy
.