Skip to content

Commit 4a92f60

Browse files
committed
Update readme with libpq-dev and data_migrations:create_default_billing_plans
1 parent 07caf0b commit 4a92f60

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.rdoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ Install curl
3838

3939
sudo apt-get install curl
4040

41-
Install rvm
41+
Install rvm (or your favorite ruby version manager)
4242

4343
\curl -sSL https://get.rvm.io | bash
44-
4544
source ~/.rvm/scripts/rvm
4645

4746
Install ruby 2.3.1
@@ -50,13 +49,14 @@ Install ruby 2.3.1
5049

5150
rvm use 2.3.1
5251

53-
Install rails 4.2.5
52+
Install rails 4.2.7
5453

55-
gem install rails -v 4.2.5
54+
gem install rails -v 4.2.7
5655

5756
Install necessary libraries
5857

5958
sudo apt-get install imagemagick libmagickwand-dev
59+
sudo apt-get install libpq-dev
6060

6161
Clone the code
6262

@@ -65,19 +65,21 @@ Clone the code
6565
Install gems
6666

6767
bundle install
68-
68+
6969
Create database
7070

7171
rake db:create
7272

7373
Run initial database migrations
7474

7575
rake db:migrate
76+
rake data_migrations:create_default_billing_plans
77+
rake db:seed
7678

7779
Finally, run the server with
7880

7981
rails server
80-
82+
8183
You should now see a copy of the site running locally at http://localhost:3000/!
8284

8385
== Running the notebook stack locally with Docker

0 commit comments

Comments
 (0)