Styled Django templates for data management applications.
Project description
django-girder-style
Styled Django templates for data management applications.
Develop with Docker
Initial Setup
- Run
docker-compose run --rm django ./manage.py migrate
- Run
docker-compose run --rm django ./manage.py createsuperuser
and follow the prompts to create your own user
Run Application
- Run
docker-compose up
- Access the site, starting at http://localhost:8000/
- Outgoing emails are sent to the console
- The Django admin interface is still available at http://localhost:8000/admin/
- When finished, use
Ctrl+C
Testing
- Run
docker-compose run --rm django tox
- Run
docker-compose run --rm tailwind yarn lint --fix
Application Maintenance
Occasionally, new package dependencies or schema changes will necessitate maintenance. To non-destructively update your development stack at any time:
- Run
docker-compose build --pull --no-cache
- Run
docker-compose run --rm django ./manage.py migrate
Install Javascript packages
In the event that Javascript packages need to be installed, this can be done via Docker Compose:
- Run:
docker-compose run --rm tailwind yarn add -D package-name
, substitutingpackage-name
as appropriate.
This can also be done natively by running Yarn commands from the tailwind/
directory, but be sure
to re-build Docker afterwards (via Application Maintenance above).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-girder-style-0.2.0.tar.gz
(425.9 kB
view hashes)
Built Distribution
Close
Hashes for django-girder-style-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c7a57096d499fac3e6f9d10d1b0d6e87e115d2775e9de8db1ab2c24eae29e2e |
|
MD5 | f7eedc150f99a3c8bb94c4467be29fed |
|
BLAKE2b-256 | 158495f84f2db5aab369844a129ce8e5df529b62dad0e2a1da5061023602c2b1 |
Close
Hashes for django_girder_style-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af120700fa2ad98698ccf0a9d5766be169ed1bf3e37b34830a2d67f39f9ef498 |
|
MD5 | 77ea1b728a369147b1a22ed6eb753f08 |
|
BLAKE2b-256 | 956ffbfcaac222edcac9cce22d1c9315b570c3474b015c5a86f5d9a9c7e6117d |