Code Monkey home page Code Monkey logo

erpnext14-with-github-actions's Introduction

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

erpnext14-with-github-actions's People

Contributors

anaskhandevops avatar umer-nazir02 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.