Giter VIP home page Giter VIP logo

docker-postgres-for-idempiere-development's Introduction

PosgreSQL docker for iDempiere development

Getting start

Configure the IDEMPIERE_REPOSITORY env variable in ~/.zshrc or ~/.bashrc.

Example:

IDEMPIERE_REPOSITORY=/home/sauljp/Workspace/idempiere
export IDEMPIERE_REPOSITORY

Or running make set-idempiere-path value=/home/sauljp/Workspace/idempiere

First time run make run ; sleep 15 ; make import-db or make phoenix ; sleep 15 ; make import-db.

If you are using make phoenix you need to run after make import-db each time.

Envs

  • IDEMPIERE_REPOSITORY need it
  • DOCKER_NAME default postgres
  • POSTGRES_VERSION default 9.6
  • DB_NAME default idempiere

Commands

  • Create a postgres container with volume: make or make run
  • Create a postgres without volume: make phoenix
  • Set env IDEMPIERE_REPOSITORY: make set-idempiere-path value=/home/sauljp/Workspace/idempiere
  • Set env DOCKER_NAME: make set-docker-name value=postgres
  • Set env POSTGRES_VERSION: make set-postgres-version value=9.6
  • Set env DB_NAME: make set-db-name value=idempiere
  • Stop postgres: make stop
  • Restart postgres: make start
  • See status: make status
  • Open a bash: make bash
  • Open psql: make psql
  • Import db (includes import-seed and migrate): make import-db
  • Import just the db seed: make import-seed
  • Migrate: make migrate
  • Create a backup: make backup-db
  • Restore a db: make restore-db filename=filename
  • Remove data volume: make clean
  • Remove env variables: make clean-env
  • Drop db: make drop-db

docker-postgres-for-idempiere-development's People

Contributors

sauljabin avatar

Watchers

 avatar  avatar  avatar  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.