mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
Make it more clear
This commit is contained in:
parent
709a194621
commit
f037a18415
@ -16,16 +16,16 @@ Build locally by passing the `dev` flag to it:
|
||||
$ stack build . --flag stackage-server:dev
|
||||
```
|
||||
|
||||
Now, initially you need to run the cron job and create and populate the database:
|
||||
Now, initially you need to run the cron job to create and populate the database:
|
||||
|
||||
``` shellsession
|
||||
$ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
|
||||
$ stack exec stackage-server-cron
|
||||
```
|
||||
|
||||
Note that you need to modify the PGSTRING according to your actual database configuration. Also, you need to create an empty database before running the cron job. Note that it takes quites some time for it to load your database.
|
||||
Note that you need to modify the PGSTRING environment variable according to your actual database configuration. Also, you need to create an empty database before running the cron job. Note that it takes quites some time for it to load your database.
|
||||
|
||||
After this, try running in the stackage server:
|
||||
After this, run the stackage server:
|
||||
|
||||
``` shellsession
|
||||
$ export PGSTRING=postgresql://postgres:password@localhost:5432/stackage
|
||||
|
||||
Loading…
Reference in New Issue
Block a user