-
Notifications
You must be signed in to change notification settings - Fork 3
Sqlite to Postgres Migration
7sempra edited this page Jul 22, 2017
·
4 revisions
- Pull down the latest changes
- Install & prepare Postgres
- Open your
.env
file, add the following line:
DATABASE_URL=postgres://<username>@localhost:<port>/eve_roster
Replace<username>
with your username on the development machine,<port>
with the Postgres port, probably5432
. - Compile the server:
$ npm run build-server
- Update the new database:
$ nf run npm run updatedb
- Run the migration script:
$ nf run node out/bin/importSqliteToPostgres.js
- Start the server as usual:
$ nf start