Run the admin site locally
The admin panel runs only on the local machine of the person that set up this website. To use the admin panel, the admin should follow these steps:
Step 1 — Navigate to the project
cd ~/Code/dvnr
Step 2 — Activate the virtual environment
source .venv/bin/activate
Step 3 — Start the server
python -m uvicorn app.main:app --reload
This link only works when the local server is running.
After publishing — deploy to the live site
git add dist/ && git commit -m "Publish new text" && git push
Then SSH to the server and run git pull.