Skip to main content
# ATC DEMO UI

Django ATC Demo UI is a Django app that allow to modify traffic shaping applied to a device via a Web UI.

Even though it is a Django app, `ATC Demo UI` is mostly a [React](http://facebook.github.io/react/) application that uses [Bootstrap](http://getbootstrap.com/) to make the app responsive.

## Requirements

* [Django 1.10](https://github.com/django/django)
* [atc_api](../django-atc-api)

`ATC Demo UI` depends on `ATC API` so make sure you have installed and configured the [ATC API](../django-atc-api) first.

## Installation

The easiest way to install `django-atc-demo-ui` is to install it directly from [pip](https://pypi.python.org/pypi).

### From pip
```bash
pip install django-atc-demo-ui
```

### From source
```bash
cd path/to/django-atc-demo-ui
pip install .
```

## Configuration

1. Add `atc_demo_ui` and its dependencies to your `INSTALLED_APPS`' `settings.py` like this:
```python
INSTALLED_APPS = (
...
'bootstrap_themes',
'django_static_jquery',
'atc_demo_ui',
)
```
2. Include the `atc_demo_ui` URLconf in your project `urls.py` like this:

url(r'^atc_demo_ui/', include('atc_demo_ui.urls')),

If you want to have `/` redirecting to `/atc/demo_ui`, you can update `urls.py`
```python
...
from django.views.generic.base import RedirectView

urlpatterns = [
...
...
url(r'^atc_demo_ui/', include('atc_demo_ui.urls')),
url(r'^$', RedirectView.as_view(url='/atc_demo_ui/', permanent=False)),
]
```

3. Start the development server
```bash
python manage.py runserver 0.0.0.0:8000
```

4. Visit http://127.0.0.1:8000/atc_demo_ui to access ATC Demo UI.


Some settings like the REST endpoint can be changed in your Dkango project'settings.py:

```python
ATC_DEMO_UI = {
'REST_ENDPOINT': '/api/v1/',
}
```

see [ATC Demo UI settings](atc_demo_ui/settings.py) for more details.

Metadata

Release files for django-atc-demo-ui 0.1.6

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-atc-demo-ui 0.1.6
File Size Uploaded
django-atc-demo-ui-0.1.6.tar.gz 243.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-atc-demo-ui 0.1.6
File Interpreter ABI Platform
django_atc_demo_ui-0.1.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 496.9 kB

Release files / django-atc-demo-ui-0.1.6.tar.gz

Download URL django-atc-demo-ui-0.1.6.tar.gz
Size 243.6 kB
Tags Source
SHA-256 checksum
How to use checksums
96b64eeb34676791dfb11b9026c8aa398d1d3e7491e9f1367afb70cedb5ec650
BLAKE2b-256 checksum
How to use checksums
2eb4a134ec8e6e4c7c276aa3e9bd762b3792bee802d5678a661c58c7e76d1aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_atc_demo_ui-0.1.6-py2.py3-none-any.whl

Download URL django_atc_demo_ui-0.1.6-py2.py3-none-any.whl
Size 253.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
83e338c241a5bf691fb7e268efed36feed3874d0cd7b5ad4fee0cf845d9b7f77
BLAKE2b-256 checksum
How to use checksums
308b42de0f7e56c2eb2eb31a670f6f5ddcf4b556b1105d53a34cdefc1bbfd1ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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