wt 2.0.1
Install from the command line:
Learn more about npm packages
$ npm install @team-fuho/wt@2.0.1
Install via package.json:
"@team-fuho/wt": "2.0.1"
About this version
A pretty simple wagtail
setup for simple kind of JUST BLOGGING, and scaling under docker.
- You may find yourself struggle with snake-engine. Don't worry, because Docker shipment is supported.
Run the container (testing purpose)
docker run ghcr.io/team-fuho/wt:main -p 8000:8000
To run in production with non emphemeral storage, here is the required entry that you need to bind on.
- If there is no
DATABASE_URL
defined, it will rely on/app/db.sqlite3
- also if there is no django-storage env defined correctly, it uses
/app/media
Configure properly -
DATABASE_URL
is recommended. parsed by dj-database-url
- If there is no
- Though, for a portable setup, I recommend
uv venv ./.venv/Scripts/activate # on windows ./.venv/bin/activate # on *nix uv sync python ./manage.py createsuperuser # wagtail initial setup (to add admin) python ./manage.py runserver # wagtail default behaviour
Migrated to GraphQL query system
[!NOTE] As to avoid redirection that cause performance issue at scale, I won't enable trail-slash redirection. The graphql endpoint would be:
http://host/api/graphql/
(notice the trailing slash)
[!IMPORTANT] Deprecated