No description
This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 97.7%
  • HCL 1.1%
  • HTML 0.7%
  • Shell 0.4%
Find a file
dependabot[bot] c69112af18
Some checks failed
ci / tests (push) Failing after 29s
generate-schema-diagram / generate-schema-diagram (push) Successful in 1m25s
ci / release_staging (push) Has been skipped
ci / release_dev (push) Has been skipped
ci / release_production (push) Has been skipped
chore(deps-dev): bump black from 23.1.0 to 24.3.0 (#210)
Bumps [black](https://github.com/psf/black) from 23.1.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.1.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 10:11:32 +01:00
.github/workflows ci: fix piccolo migration failure (#197) 2023-12-12 16:10:23 +00:00
.vscode chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
bullsquid chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
docs 🎨 docs(readme): add logo to readme 2022-02-24 12:30:08 +00:00
fe2 🐛 attempt to fix oauth logout redirect 2022-07-26 15:04:32 +01:00
fixtures chore: format default fixture json 2023-06-12 16:59:03 +01:00
scripts chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
terraform feat(wip): add auth0 terraform config 2023-09-26 17:09:02 +01:00
tests chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
.dockerignore 🛂 feat(auth): add simple oauth 2022-07-26 12:33:48 +01:00
.env.example add CSV upload module 2022-12-01 16:09:52 +00:00
.gitignore add delete s-mid location link endpoint 2022-09-22 11:42:37 +01:00
api-compare.py fix: allow client to set a location_id when removing a sub-location's parent, or randomise it otherwise 2023-02-09 14:42:17 +00:00
asgi.py chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
docker-compose.yaml refactor: rename scheme_slug to slug in location counts 2023-05-11 10:44:08 +01:00
Dockerfile 👷 update poetry in docker build 2022-09-20 10:27:04 +01:00
piccolo_conf_test.py chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
poetry.lock chore(deps-dev): bump black from 23.1.0 to 24.3.0 (#210) 2024-04-15 10:11:32 +01:00
pyproject.toml chore: use ruff for formatting (#213) 2024-04-15 10:02:35 +01:00
README.md docs: fix markdown lints in readme 2023-02-07 14:02:01 +00:00

bullsquid

project logo

Portal API backend project.

Prerequisites

Ensure Poetry 1.2+ is installed:

$ poetry --version
Poetry (version 1.2.0)

Ensure psql is installed:

$ psql --version
psql (PostgreSQL) 14.2

psql version does not matter as long as it's relatively recent.

Setup

The bootstrap script will do most of the work setting up the project.

scripts/bootstrap

The script will install dependencies and attempt to set up the database. If you don't have a PostgreSQL instance running on the default port, then the script will attempt to set one up for you with Docker. If you don't have Docker, this stage will fail and you will need to either set up PostgreSQL manually or install docker. Once you have done that, re-run the bootstrap script.

Running the API server

poetry run scripts/server

Running tests

poetry run scripts/test