File tree Expand file tree Collapse file tree 2 files changed +1
-25
lines changed
Expand file tree Collapse file tree 2 files changed +1
-25
lines changed Original file line number Diff line number Diff line change 1- = render partial: ' shared/assembly_banner'
2-
31header #masthead
42 .inside-masthead .cf
53 .mobile-panel .cf
Original file line number Diff line number Diff line change 1- namespace :vagrant do
2- namespace :db do
3- desc 'Restart the Postgresql database'
4- task restart : %w( vagrant:db:stop vagrant:db:start vagrant:db:status )
5-
6- desc 'Stop the Postgresql database'
7- task :stop do
8- ap `sudo su -c 'pg_ctl stop -D /var/pgsql/data 2>&1' postgres`
9- end
10-
11- desc 'Start the Postgresql database'
12- task :start do
13- ap `sudo su -c 'pg_ctl start -l /var/pgsql/data/log/logfile -D /var/pgsql/data' postgres`
14- end
15-
16- desc 'Print the Postgresql database status'
17- task :status do
18- ap `sudo su -c 'pg_ctl status -D /var/pgsql/data' postgres`
19- end
20- end
21- end
22-
231namespace :db do
242 task smash : %w( redis:flush db:schema:load db:test:prepare db:seed )
253
264 namespace :download do
275 def db_dump_file
28- "tmp/ coderwall-production.dump"
6+ "coderwall-production.dump"
297 end
308
319 # https://www.mongolab.com/downloadbackup/543ea81670096301db49ddd2
You can’t perform that action at this time.
0 commit comments