-`app_secret_config`: it might be useful to have the cookie's key in seperate config (true|false)
### How to create a new app
Create the following files
*`uwsgi-python/vars/<app_name>.yml`
Define the variable in it from above and the variables, you need for you config file. We recommend to define them as defaults (and as documentation)
*`uwsgi-python/templates/apps/<app_name>.j2`
That's your config template.
*`uwsgi-python/tasks/apps/<app_name>.j2`
If you need some additional tasks, you can define them in this file
If you have done this, you can create an instance of the app. Note, you have to define for every app an instance altough you only want to deploy it once.
### How to create a new app's instance
Create for every instance <inventory_dir>/vars/<instance_name>.yml a variable in which you can override the defaults from uwsgi-python/vars/<app_name>.yml
Define in your host_vars/<host> the dictionary `webapps`
webapps:
- instance: <instancen_name>
app: <app_name>
app_vars: "<instance_name>.yml" <-- path to variable file from above