src/README
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 10:53:15 +0100
changeset 183 f8f3af9e5c83
parent 37 5ce9218fb3e0
permissions -rw-r--r--
Change the settings to avoid using Session authentication for rest framework as it raise exceptions in case client and backend are on the same domain On the filter, adapt to take into account new version of django_filters

# IRINOTES backoffice

Back office for the IRINOTES application

## Installation

Please follow the command below to bootstrap the project

```shell
$ mkdir -p run/{db,log,web}
$ mkdir -p run/web/{media,static}
$ cp .env.tmpl .env
$ vi .env
$ mkvirtualenv -p `which python3` irinotes
$ cd requirements
$ pip install -r dev.txt
$ cd ..
$ python manage.py migrate
$ python manage.py collectstatic
$ python manage.py createsuperuser
$ python manage.py runserver

```

You can now visit the following url in your browser <http://127.0.0.1:8000> .

Admin interface is at <http://127.0.0.1:8000/admin>

## Usage

The following library have been used:
http://django-rest-auth.readthedocs.io/en/latest/index.html
https://django-allauth.readthedocs.io/en/latest/
http://getblimp.github.io/django-rest-framework-jwt/

Lancement serveur smtp python:
sudo python3 -m smtpd -c DebuggingServer -n localhost:25

## History

TODO: Write history

## Credits

TODO: Write credits

## License

TODO: Write license