resources | ||
deploy-dashboard.sh | ||
deploy-saleor.sh | ||
README.md |
Deploy Saleor
A bash script for Production Deployment of Saleor
Description
This script set intends to install and setup specific dependancies, Saleor, and Saleor Dashboard for a production environment. It is assumed that you have already installed Nginx, PHP 7.4, and have some general understanding of the settings.py file and how to setup email outside of this script. Email setup will be added in future versions of this script. This is the initial public release for alpha testing on Ubuntu 20.04 systems.
Contribution
If you want to contribute to this script set, please clone the repository, make your desired upgrades, updates, or fixes, and submit a pull request with documentation of your upgrades, updates, or fixes. Your contributions will be added to a list appended to this readme file and are very much appreciated.
Install & Dependancy List
deploy-saleor.sh installs...
- Saleor
- build-essential
- python3-dev
- python3-pip
- python3-cffi
- python3-venv
- gcc
- libcairo2
- libpango-1.0-0
- libpangocairo-1.0-0
- libgdk-pixbuf2.0-0
- libffi-dev
- shared-mime-info
- nodejs
- npm
- postgresql
- postgresql-contrib
deploy-dashboard.sh installs...
Instructions
1. Login as a sodoer and clone this repository into the home directory of the sudo user that will be installing Saleor, and Saleor Desktop. - `git clone https://github.com/thewhiterabbit/Deploy_Saleor.git` 2. With sudo, from the home directory, run the deploy-saleor.sh script first. - `sudo bash Deploy_Saleor/deploy-saleor.sh` 3. With sudo, form the home directory, run the deploy-dashboard.sh script. - `sudo bash Deploy_Saleor/deploy-dashboard.sh`Please report any errors as an issue so that they can be addressed.
NOTE: If you have already installed & secured PostgreSQL you may get errors because the script may not be able to connect to `psql` and create the required database and user account.
Awesome Contributors
-
Saleor Team - For making the Saleor Platform, and inspiring this repository.
Disclaimer
Although I have done my best to be as thourogh as I am capable of, there may be some overlooked concerns for security invloving the virtual environment , Emperor, or other aspects that may be currently outside the contrinutor's scope of knowledge. This script set is provided without gurarantee.