Skip to content

Instantly share code, notes, and snippets.

@dreispt
Last active December 17, 2015 10:58
Show Gist options
  • Save dreispt/5598326 to your computer and use it in GitHub Desktop.
Save dreispt/5598326 to your computer and use it in GitHub Desktop.
Working on the directory structure and UI design for OpenERP-inator's next version ...

OpenERP-inator's directory structure:

                           ## `oetor init`
/opt/openerp               # HOME directory
  |- oetor                 # oetor script (symlinked to ./src/oetor/oetor)
  |- /src                  # shared SOURCE REPOSITORY
  |    |- /oetor             # oetor script source (cloned form GitHub)
  |    |- /nightly-7.0       # a SOURCE DIR (from nightly builds)
  |    |    |- /server
  |    |                     ## `oetor setup sources 7.0`
  |    |- /sources-7.0       # a source dir (Launchpad checkout)
  |    |    |- /server       #    (/repos contains addons and web)
  |    |    |- /repos
  |    |                     ## `oetor setup sources trunk`
  |    |- /sources-trunk     # ...another version source dir
  |    |    |- ...
  |    ...                   # ...add other shared sources as needed
  |                          #    see `oetor setup --help`
  |
  |                        ## `oetor create instance1 sources-7.0`
  |- /instance1            # an OpenERP server instance
  |    |- openerp-server.conf
  |    |- /src               # server sources: symlink dir in /opt/openerp/src
  |    |- /common            # specific sources: add specific sources
  |    |                     # common all instance versions)
  |    |- normbot            # script to help operate the vanilla server
  |    |                     # (addons_path=./src/repos/*,./common/*)
  |    |
  |    |                     ## `oetor addto instance1 branchx lp:branchx`
  |    |- /branchx           # instance source code (version x)
  |    |- normbot-branchx    # server to work on a specific branch/version
  |    |                     # (addons_path=./branchx,./src/repos/*,./common/*)
  |    |
  |    ...                 # ...add as many branches as needed
  |                        # see `oetor addto --help`
  |
  ...                      # ...create as many instances as you need
                           # see `oetor create --help`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment