A working example, using Postgres, NGINX, gunicorn and Let's Encrypt, is available in the example directory.
NOTE
See the full Salt Formulas installation and usage instructions.
Globally install virtualenv
with pip, setup a python virtualenv for each site, and install packages if requested.
Build the settings.py
file for each site, using the file provided or by "compiling" the settings parameters in the pillar.
Configure systemd services for gunicorn, the WSGI server.
Download the latest source files of each site from the git address provided (note: the content in the installation directory will be wiped each time).
Apply all of the above states.
Copyright 2018 Alberto Chiusole Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.