mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Update getting-started.md
This commit is contained in:
		
							parent
							
								
									a1f098fc73
								
							
						
					
					
						commit
						a1cd0f4cbe
					
				| @ -16,7 +16,7 @@ _Unleash_ will, at startup, check whether database migration is needed, and perf | |||||||
| $ npm install unleash-server -g | $ npm install unleash-server -g | ||||||
| $ unleash -d postgres://unleash_user:passord@localhost:5432/unleash -p 4242 | $ 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: | ### 2. Or programmatically: | ||||||
| @ -29,7 +29,7 @@ unleash.start({ | |||||||
|   databaseUrl: 'postgres://unleash_user:passord@localhost:5432/unleash' |   databaseUrl: 'postgres://unleash_user:passord@localhost:5432/unleash' | ||||||
|   port: 4242 |   port: 4242 | ||||||
| }).then(unleash => { | }).then(unleash => { | ||||||
|     console.log(`Unleash started on port:${unleash.app.get('port')}`); |     console.log(`Unleash started on http://localhost:${unleash.app.get('port')}`); | ||||||
| }); | }); | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user