semvec/pypi-packages huggingface dataset:
django-atc-profile-storage 0.1.6
ATC Profile storage app

# ATC Profile Storage

ATC Profile Storage is a Django app that allows to store predefined ATC profiles in DB.

## Requirements

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

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

## Installation

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

### From pip
```bash
pip install django-atc-profile-storage
```

### From source
```bash
cd path/to/django-atc-profile-storage
pip install .
```

## Configuration

1. Add `atc_profile_storage` to your `INSTALLED_APPS`' `settings.py` like this:
```python
    INSTALLED_APPS = (
        ...
        'atc_profile_storage',
        'rest_framework',
    )
```

2. Include the `atc_profile_storage` URLconf in your project `urls.py` like this:
```python
    ...
    url(r'^api/v1/profiles/', include('atc_profile_storage.urls')),
    ...
```

3. Migrate the Django DB:
```bash
python manage.py migrate
```

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

5. Visit http://127.0.0.1:8000/api/v1/profiles .
django-atc-demo-ui 0.1.6
Demo Web UI for ATC

# 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.