GithubHelp home page GithubHelp logo

erp-next-me / erpnext-vm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from frappe/erpnext-vm

0.0 1.0 0.0 20 KB

Configuration for the Build Server that generates ERPNext VMs and Vagrant Box

Python 60.71% Nginx 16.60% Shell 22.68%

erpnext-vm's Introduction

ERPNext VM Builder

Steps to build a vm image

  • Install VirtualBox
  • Download and place a base.ova ubuntu base image in the current directory.
  • Download packer binary from and place in the current directory
  • ./packer build vm.json builds a new Production vm.
  • ./packer build vm-develop.json builds a new Development vm and a Vagrant Box.

How it works

Packer imports the base image in a virtual machine and boots it. It runs the following

  • scripts/install_ansible.sh sets up ansible on the vm.
  • The ansible/vm.yml playbook sets up the dependencies, installs a bench and sets up a site. It also sets up production if needed.
  • scripts/set_message.sh sets welcome message (with update instructions) in the vm.
  • scripts/zerofree.sh writes zero to all the free space in the disk, it shrinks the disk image.
  • Vagrantfile is the configuration that is used for the Vagrant Box

For a build server

Running the build.py script builds the VMs and puts them in ~/public. It also creates md5 hash files for every VM created.

erpnext-vm's People

Contributors

robertschouten avatar rmehta avatar vjfalk avatar

Watchers

James Cloos 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.