Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
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>