mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Updated Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64 (markdown)
parent
a34dc3b9fb
commit
09c98e4b7c
1 changed files with 3 additions and 3 deletions
|
@ -825,7 +825,7 @@ Update config.serve_static_assets to true.
|
|||
Create database schema.
|
||||
```
|
||||
$ cd ~/tracks
|
||||
$ rake db:migrate RAILS_ENV=production
|
||||
$ bundle exec rake db:migrate RAILS_ENV=production
|
||||
== CreateTracksDb: migrating =================================================
|
||||
-- create_table(:contexts)
|
||||
-> 0.0257s
|
||||
|
@ -865,7 +865,7 @@ $ rake db:migrate RAILS_ENV=production
|
|||
###Precompile Assets
|
||||
```
|
||||
$ cd ~/tracks
|
||||
$ rake assets:precompile
|
||||
$ bundle exec rake assets:precompile
|
||||
/home/tracks/.rvm/rubies/ruby-1.9.3-p547/bin/ruby /home/tracks/.rvm/gems/ruby-1.9.3-p547/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
|
||||
```
|
||||
|
||||
|
@ -883,7 +883,7 @@ $ sudo service iptables status
|
|||
###Start the Server (test)
|
||||
```
|
||||
$ cd ~/tracks
|
||||
$ rails server -e production
|
||||
$ bundle exec rails server -e production
|
||||
=> Booting WEBrick
|
||||
=> Rails 3.2.13 application starting in production on http://0.0.0.0:3000
|
||||
=> Call with -d to detach
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue