Skip to content

Commit b3e2c95

Browse files
committed
removing sidebar
1 parent 08ca854 commit b3e2c95

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

app/views/application/_nav_bar.slim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
= render partial: 'shared/assembly_banner'
2-
31
header#masthead
42
.inside-masthead.cf
53
.mobile-panel.cf

lib/tasks/db.rake

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,9 @@
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-
231
namespace :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

0 commit comments

Comments
 (0)