diff --git a/config/database.yml b/config/database.yml index 200a82a..f58798f 100644 --- a/config/database.yml +++ b/config/database.yml @@ -18,7 +18,5 @@ production: encoding: utf8 database: learn_prod pool: 5 - host: localhost - port: 5432 username: <%= ENV["APP_DATABASE_USER"] %> - password: <%= ENV["APP_DATABASE_PASS"] %> \ No newline at end of file + password: <%= ENV["APP_DATABASE_PASS"] %> diff --git a/lib/tasks/gulp.rake b/lib/tasks/gulp.rake new file mode 100644 index 0000000..35634ea --- /dev/null +++ b/lib/tasks/gulp.rake @@ -0,0 +1,4 @@ +task :gulp do + system('npm install -g gulp') + system('cd ~/client && gulp production') +end diff --git a/lib/tasks/npm.rake b/lib/tasks/npm.rake new file mode 100644 index 0000000..42100b1 --- /dev/null +++ b/lib/tasks/npm.rake @@ -0,0 +1,3 @@ +task :npm do + system('cd ~/client && npm install') +end