1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

Update getting-started.md

This commit is contained in:
Ivar Conradi Østhus 2017-02-25 08:53:38 +01:00 committed by GitHub
parent 5fce721fc2
commit 59a926167f

View File

@ -16,7 +16,7 @@ _Unleash_ will, at startup, check whether database migration is needed, and perf
$ npm install unleash-server -g
$ unleash -d postgres://unleash_user:passord@localhost:5432/unleash -p 4242
Unleash started on port:4242
Unleash started on http://localhost:4242
```
### 2. Or programmatically:
@ -29,7 +29,7 @@ unleash.start({
databaseUrl: 'postgres://unleash_user:passord@localhost:5432/unleash'
port: 4242
}).then(unleash => {
console.log(`Unleash started on port:${unleash.app.get('port')}`);
console.log(`Unleash started on http://localhost:${unleash.app.get('port')}`);
});
```