Skip to content

milzamsz/erpnext14-with-github-actions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install erpnext app with github actions

Docker ERPNext MariaDB Python

dockerized erpnext 14 with github

Introduction

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.

Prerequisites

  • 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

Work to do:

  • fork repo
  • define secret variables
  • run workflow

Getting started

Fork this Repository:

To start installation, fork 🍽 this repo:

image

Define secrets variables in actions secrets and variables:

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.

SSH_HOST, SSH_USER, SSH_PASSWORD:

Create two more secrets: SSH_USER, SSH_HOST and SSH_PASSWORD for the server username and password.

ADMIN_PASSWORD:

Create a new secret named ADMIN_PASSWORD and set the value to the administrator password for the ERP app.

ERP_SITE_NAME:

Create a new secret named ERP_SITE_NAME and set the value to your desired ERP site name (e.g., erpsite.local).

MYSQL_ROOT_PASSWORD, MYSQL_ROOT_USER:

Create two secrets: MYSQL_ROOT_PASSWORD and MYSQL_ROOT_USER for the MariaDB root user password and username.

image

Run workflow:

Run the workflow manually / commit any change.

PORTS

  3306 8000 9000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%