From f35372dbcd19e40d185101b47f47bebb7c64e377 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 21 Nov 2023 13:51:11 -0500 Subject: [PATCH] Fix setup commands in README --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 70856ea..5d1bc76 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ A management site for the [Claremont MakerSpace](https://claremontmakerspace.org 1. Get Python 3.9 and [PDM](https://pdm.fming.dev/) 2. Run `pdm install` 3. Copy `./cmsmanage/settings/dev.sample.py` to `./cmsmanage/settings/dev.py` -4. Run `pdm ./manage.py migrate` to create database tables +4. Run `pdm run ./manage.py migrate` to create database tables 5. (Optional) If you have access to the production server, you can use real data: - 1. `pdm ./manage.py dumpdata -o whatever.json` (on the server) - 2. `pdm ./manage.py loaddata whatever.json` (on your machine) -6. Run `pdm ./manage.py createsuperuser` to make a user -7. Run `pdm ./manage.py runserver` to start the server + 1. `pdm run ./manage.py dumpdata -o whatever.json` (on the server) + 2. `pdm run ./manage.py loaddata whatever.json` (on your machine) +6. Run `pdm run ./manage.py createsuperuser` to make a user +7. Run `pdm run ./manage.py runserver` to start the server