Skip to main content

Django-Fujita

This is a Tornado server built to run the Django builtin ‘runserver’ command.

Why on earth would one want to do such a crazy thing?

The main reason this was built was for the use case of a team environment where the developers are using Vagrant for local development and want to give the less terminal savvy users an easy way to run and control the Django development server.

How do I use this?

For testing purposes:

  1. Clone this repository.

  2. Create a new virtualenv

  3. Install Django & tornado via pip

  4. Run the fujita.py script with the command to run the testproject (see below)

  5. Visit the Fujita Console in your browser

To distribute a Fujita Console in your project simply list django-fujita in your requirements and then add a fujita.py script to the root.

Running the fujita.py script

You need to tell the script how to run your development server through the --command option.

If you’re following the steps above then you’ll want to use something similar to the following command:

./fujita.py --command "/home/user/.virtualenvs/fujita/bin/python /home/user/projects/django-fujita/testproject/manage.py runserver 0:8000"

The above command assumes you have a virtualenv named fujita in the .virtualenvs directory in your home. It also assumes that you have a projects directory in your home and the django-fujita repository has been checked out there. Adjust for your setup.

The command is run under /bin/sh so you can set environment variables by prefixing them in front of the command:

./fujita.py --command "DJANGO_SETTINGS_MODULE=project.settings.dev django-admin.py runserver 0:8000"

Metadata

Release files for django-fujita 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-fujita 0.1
File Size Uploaded Provenance Actions
django-fujita-0.1.tar.gz 4.2 kB Without provenance Details for django-fujita-0.1.tar.gz

Release files / django-fujita-0.1.tar.gz

Download URL django-fujita-0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c563b8208b3fb6d2aac00934553e43286bc7908c0fe518dde41ce05eb99d91d1
BLAKE2b-256 checksum
How to use checksums
c290af9c971ab95b0228ff94d265c2356cf2961878b2a700ad487dd23a241c89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-fujita 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page