File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,9 @@ Install curl
38
38
39
39
sudo apt-get install curl
40
40
41
- Install rvm
41
+ Install rvm (or your favorite ruby version manager)
42
42
43
43
\curl -sSL https://get.rvm.io | bash
44
-
45
44
source ~/.rvm/scripts/rvm
46
45
47
46
Install ruby 2.3.1
@@ -50,13 +49,14 @@ Install ruby 2.3.1
50
49
51
50
rvm use 2.3.1
52
51
53
- Install rails 4.2.5
52
+ Install rails 4.2.7
54
53
55
- gem install rails -v 4.2.5
54
+ gem install rails -v 4.2.7
56
55
57
56
Install necessary libraries
58
57
59
58
sudo apt-get install imagemagick libmagickwand-dev
59
+ sudo apt-get install libpq-dev
60
60
61
61
Clone the code
62
62
@@ -65,19 +65,21 @@ Clone the code
65
65
Install gems
66
66
67
67
bundle install
68
-
68
+
69
69
Create database
70
70
71
71
rake db:create
72
72
73
73
Run initial database migrations
74
74
75
75
rake db:migrate
76
+ rake data_migrations:create_default_billing_plans
77
+ rake db:seed
76
78
77
79
Finally, run the server with
78
80
79
81
rails server
80
-
82
+
81
83
You should now see a copy of the site running locally at http://localhost:3000/!
82
84
83
85
== Running the notebook stack locally with Docker
You can’t perform that action at this time.
0 commit comments