A management site for the Claremont MakerSpace https://manage.claremontmakerspace.org/
Go to file
Adam Goldsmith 9c1771b414 Enable Ruff rule to reject # XXX: todo lines
Combined with pre-commit, this should prevent me from committing
unfinished sections
2024-03-29 12:01:23 -04:00
.gitea/workflows gitea-actions: Use pdm sync instead of install 2024-02-17 13:58:07 -05:00
cmsmanage Apply Ruff 2024.2 style changes 2024-03-02 00:22:32 -05:00
dashboard dashboard: Add fragment with links to some misc external apps 2024-03-15 23:38:22 -04:00
doorcontrol doorcontrol: Fix typo in Door.card_formats 2024-03-07 10:49:28 -05:00
membershipworks membershipworks: Use monospace font for invoice header math 2024-03-29 12:01:23 -04:00
paperwork paperwork: Fix department_certifications shop lead check 2024-03-13 17:16:32 -04:00
rentals dashboard: Add more flexible Link Card dashboard fragment 2024-02-06 00:42:14 -05:00
static Bump bootstrap to v5.3.3 2024-02-28 11:31:00 -05:00
tasks Switch from Black to Ruff for formatting, add linting/import sorting 2024-01-18 14:21:36 -05:00
templates Set bootstrap color mode to auto by default and load script early 2024-01-30 13:34:04 -05:00
.gitignore Add /markdownx/ to gitignore 2022-02-14 16:27:59 -05:00
.pre-commit-config.yaml Bump dependencies 2024-03-02 00:22:32 -05:00
manage.py Apply Ruff 2024.2 style changes 2024-03-02 00:22:32 -05:00
pdm.lock Bump dependencies 2024-03-29 12:01:08 -04:00
pdm.toml Use compatible version save strategy in PDM 2023-06-21 14:09:00 -04:00
pyproject.toml Enable Ruff rule to reject # XXX: todo lines 2024-03-29 12:01:23 -04:00
README.md Fix setup commands in README 2023-11-29 17:28:41 -05:00
renovate.json Add renovate.json 2023-11-19 04:20:05 +00:00

CMS Management

A management site for the Claremont MakerSpace

Development

  1. Get Python 3.9 and PDM
  2. Run pdm install
  3. Copy ./cmsmanage/settings/dev.sample.py to ./cmsmanage/settings/dev.py
  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 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