Django quickstart

###Installation

apt install libmysqlclient-dev

## Create requirements.txt files with following contents

```
django
django-adminlte2
mysqlclient
```
pip3 install -r requirements.txt

### database config

```

DATABASES = {
    # 'default': {
    #     'ENGINE': 'django.db.backends.sqlite3',
    #     'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    # },
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'MartaliDial',
        'USER': 'martali',
        'PASSWORD': '[email protected]',
        'HOST': 'thwinnet.cemuepnzjf0e.us-west-2.rds.amazonaws.com',
        'PORT': '3306',
    }
}

```

### Development
python3 manage.py runserver

python3 manage.py migrate
python3 manage.py createsuperuser

### Update database
python3 manage.py migrate [app]