Make it more clear

This commit is contained in:
Sibi Prabakaran 2018-08-25 23:49:43 +05:30
parent 709a194621
commit f037a18415
No known key found for this signature in database
GPG Key ID: D19E3E0EBB557613

View File

@ -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