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.1.0.tar.gz
(425.9 kB
view hashes)
Built Distribution
Close
Hashes for django-girder-style-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e0785a73ffdf72f3fac2626ff19b2857e251955ed693b4bc4466a4a45b0acd |
|
MD5 | f7b6ed687c50a9ebb4abf2e24f9d1b89 |
|
BLAKE2b-256 | 0bb99d402971eeba82bf6e76062fcf129d8fcdefd3395a4868da8accb3207351 |
Close
Hashes for django_girder_style-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4858a8a1721f0a462473f0f5e08a0b54b7a8985bcb68ccd021f9badaab05bbe7 |
|
MD5 | d4704097106e7738e5f932899fd757a2 |
|
BLAKE2b-256 | 1715f8b6902113e11de04d9189ad64521fe02b26f7f42ff2a214592b8f700aa7 |