deploy_saleor/README.md

64 lines
3.4 KiB
Markdown
Raw Normal View History

2021-01-29 05:11:32 +00:00
![Deploy Saleor](https://raw.githubusercontent.com/thewhiterabbit/Deploy_Saleor/main/resources/images/deploy-saleor.png)
2021-01-29 05:12:52 +00:00
<h1 align="center"><a href="https://github.com/thewhiterabbit/Deploy_Saleor">Deploy Saleor</a></h1>
<h2 align="center">A bash script for Production Deployment of <a href="https://github.com/mirumee/saleor">Saleor</a></h2>
2021-01-29 02:16:11 +00:00
<hr>
<h3>Description</h2>
2021-01-29 02:40:42 +00:00
<p>This script set intends to install and setup specific dependancies, <a href="https://github.com/mirumee/saleor">Saleor</a>, and <a href="https://github.com/mirumee/saleor-dashboard">Saleor Dashboard</a> 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.</p>
2021-01-29 02:16:11 +00:00
<h3>Contribution</h3>
2021-01-29 02:42:56 +00:00
<p>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.</p>
2021-01-29 02:16:11 +00:00
<hr>
<h3>Install & Dependancy List</h3>
<h4>deploy-saleor.sh installs...</h4>
<ul>
<li>
<a href="https://github.com/mirumee/saleor">Saleor</a>
</li>
<li>build-essential</li>
<li>python3-dev</li>
<li>python3-pip</li>
<li>python3-cffi</li>
<li>python3-venv</li>
<li>gcc</li>
<li>libcairo2</li>
<li>libpango-1.0-0</li>
<li>libpangocairo-1.0-0</li>
<li>libgdk-pixbuf2.0-0</li>
<li>libffi-dev</li>
<li>shared-mime-info</li>
<li>nodejs</li>
<li>npm</li>
<li>postgresql</li>
<li>postgresql-contrib</li>
</ul>
<h4>deploy-dashboard.sh installs...</h4>
<ul>
<li>
<a href="https://github.com/mirumee/saleor-dashboard">Saleor Dashboard</a>
</li>
</ul>
<hr>
2021-01-29 02:38:42 +00:00
<h3>Instructions</h3>
2021-01-29 05:19:07 +00:00
<ol>
2021-01-29 05:22:18 +00:00
<li>Login as a sodoer and clone this repository into the home directory of the sudo user that will be installing Saleor, and Saleor Desktop.</li>
```git clone https://github.com/thewhiterabbit/Deploy_Saleor.git```
<li>With sudo, from the home directory, run the deploy-saleor.sh script first.</li>
```sudo bash Deploy_Saleor/deploy-saleor.sh```
<li>With sudo, form the home directory, run the deploy-dashboard.sh script.</li>
```sudo bash Deploy_Saleor/deploy-dashboard.sh```
2021-01-29 05:19:07 +00:00
</ol>
2021-01-29 02:38:42 +00:00
<p>Please <a href="https://github.com/thewhiterabbit/Deploy_Saleor/issues">report any errors as an issue</a> so that they can be addressed.</p>
<p>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.</p>
<hr>
2021-01-29 02:16:11 +00:00
<h3>Awesome Contributors</h3>
<ul>
<li>
<p>
<a href="https://github.com/mirumee">Saleor Team</a> - For making the <a href="https://github.com/mirumee/saleor-platform">Saleor Platform</a>, and inspiring this repository.
</p>
</li>
2021-01-29 02:38:42 +00:00
</ul>
<hr>
<h3>Disclaimer</h3>
<p>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
2021-01-29 05:14:57 +00:00
, Emperor, or other aspects that may be currently outside the contributors' scope of knowledge. This script set is provided without gurarantee.</p>