mirror of
https://github.com/discourse/discourse.git
synced 2025-01-20 01:32:45 +08:00
Merge pull request #2168 from zsombor/master
Remove documentation references to "pg_dumps/development-image.sql".
This commit is contained in:
commit
d05e3fd9d1
|
@ -103,12 +103,6 @@ Edit /etc/postgresql/9.1/main/pg_hba.conf to have this:
|
||||||
host all all ::1/128 trust
|
host all all ::1/128 trust
|
||||||
host all all 0.0.0.0/0 trust # wide-open
|
host all all 0.0.0.0/0 trust # wide-open
|
||||||
|
|
||||||
Load the seed data (as vagrant user):
|
|
||||||
|
|
||||||
psql -d discourse_development < pg_dumps/development-image.sql
|
|
||||||
|
|
||||||
(You may wish to try the `production-image.sql` file for a good seed for a production database.)
|
|
||||||
|
|
||||||
## Redis
|
## Redis
|
||||||
|
|
||||||
sudo su -
|
sudo su -
|
||||||
|
|
|
@ -87,10 +87,6 @@ fi
|
||||||
|
|
||||||
brew services start redis
|
brew services start redis
|
||||||
|
|
||||||
## Load seed data ##
|
|
||||||
echo "Loading seed data..."
|
|
||||||
psql -d discourse_development < pg_dumps/development-image.sql
|
|
||||||
|
|
||||||
## Install gems ##
|
## Install gems ##
|
||||||
echo "Installing gems..."
|
echo "Installing gems..."
|
||||||
bundle install
|
bundle install
|
||||||
|
@ -103,4 +99,4 @@ rake db:seed_fu
|
||||||
|
|
||||||
## Run tests ##
|
## Run tests ##
|
||||||
echo "Done! Running tests..."
|
echo "Done! Running tests..."
|
||||||
bundle exec rspec
|
bundle exec rspec
|
||||||
|
|
Loading…
Reference in New Issue
Block a user