A management site for the Claremont MakerSpace https://manage.claremontmakerspace.org/
Go to file
Adam Goldsmith aec64ea5f3
Some checks failed
Ruff / ruff (push) Successful in 22s
Test / test (push) Failing after 3m50s
gitea-actions: Use pdm sync instead of install
2024-02-17 13:58:07 -05:00
.gitea/workflows gitea-actions: Use pdm sync instead of install 2024-02-17 13:58:07 -05:00
cmsmanage Add gitea action to run tests 2024-02-16 14:20:35 -05:00
dashboard dashboard: Add more flexible Link Card dashboard fragment 2024-02-06 00:42:14 -05:00
doorcontrol doorcontrol: Switch initial migration to managed 2024-02-16 11:11:36 -05:00
membershipworks membershipworks: Add Missing Paperwork report 2024-02-16 11:38:45 -05:00
paperwork paperwork: Add basic tests for CertifiersReport and CertificationCountReport 2024-02-16 13:32:27 -05:00
rentals dashboard: Add more flexible Link Card dashboard fragment 2024-02-06 00:42:14 -05:00
static Bump tabulator to v5.5.2 2023-09-26 23:27:31 -04: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-02-09 12:43:52 -05:00
manage.py Rename recmaint -> cmsmanage 2022-01-27 17:14:44 -05:00
pdm.lock Add hypothesis testing dependency 2024-02-16 11:11:13 -05:00
pdm.toml Use compatible version save strategy in PDM 2023-06-21 14:09:00 -04:00
pyproject.toml Add hypothesis testing dependency 2024-02-16 11:11:13 -05: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