Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master

This branch is 1 commit behind shackbarth:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
installer.js
orm.js

README

The xTuple ORM installer takes all the orms in a given directory structure, orders them as appropriate for the
dependency chain, and installs them all into the database of your choice.

The ORM installer can be run from the command line like so:
<pre><code>
cd /database/installer
./installer.js -h hostname -d database_name -u database_user -p portnum --path /path/to/orm -P
</code></pre>

or programmatically like so:

<pre><code>
var orm = require('./orm'),
  creds = {
    hostname: 'localhost',
    username: 'admin',
    port: '5432',
    database: 'dev',
    organization: 'dev'
  },
  path = '../../../public-extensions/source/crm/database/orm';

orm.run(creds, path);
</code></pre>
Something went wrong with that request. Please try again.