This is a Wagtail site.
You'll probably want to do sudo nano /etc/hosts and add:
0.0.0.0 openownership.test
git submodule update --init --recursivegoenvgofab(and then probablycd ..)docker pull ghcr.io/hactar-is/openownership:latestdocker-compose up --build -dfab docker.fishto get a shell inside the running web container
You'll need all the project's environment variables in a .env file expanded into the shell session.
docker-compose up --build -ddocker exec -it openownership_web_1 fishordocker exec -it openownership_web_1 zshdepending on your preference
manpy migratemanpy createsuperusermanpy populate_taxonomies# To create tagsrunserver
Site should now be accessible at http://openownership.org.test:5000 (or http://0.0.0.0.test:5000)
cd app/asset/npm installnpm run build
By default, the admin JS and CSS will be output to assets/dist/
Pushes to the staging branch are automatically deployed, including static assets, to the staging server.
docker buildx bake -f docker-compose.test.yml web --set web.platform=linux/amd64,linux/arm64 --push