In this tutorial, we will walk you through the process of setting up an ERPNext application in a Dockerized environment using GitHub Actions. Whether you're a seasoned developer or a newcomer to ERPNext, this guide is designed to simplify the deployment process on a fresh Ubuntu server.
- OS : ubuntu 22.04 [i am using
aws ec2 instance
(type: t3.small)] - USER : user with sudo privileges [i am using
root user
] - USER/PASSWORD AUTHENTICATION
- fork repo
- define secret variables
- run workflow
To start installation, fork 🍽 this repo:
Go to your GitHub repository.
Click on Settings
in the upper-right corner.
In the left sidebar, click on Secrets
Click on New repository secret
.
Name the secret as SSH_HOST and enter the server IP address.
Create two more secrets: SSH_USER, SSH_HOST and SSH_PASSWORD for the server username and password.
Create a new secret named ADMIN_PASSWORD and set the value to the administrator password for the ERP app.
Create a new secret named ERP_SITE_NAME and set the value to your desired ERP site name (e.g., erpsite.local).
Create two secrets: MYSQL_ROOT_PASSWORD and MYSQL_ROOT_USER for the MariaDB root user password and username.
Run the workflow manually / commit any change.
3306 8000 9000