diff --git a/app.json b/app.json deleted file mode 100644 index a259bad8b..000000000 --- a/app.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "buildpacks": [ - { - "url": "heroku-community/apt" - }, - { - "url": "heroku/nodejs" - }, - { - "url": "heroku/ruby" - }, - { - "url": "heroku/postgresql" - } - ], - "description": "The original open-source reporting and collaboration tool trusted by InfoSec professionals around the world.", - "env": { - "RAILS_SERVE_STATIC_FILES": { - "description": "Ask Rails to serve static assets", - "value": "1" - }, - "HEROKU_DEBUG_RAILS_RUNNER": { - "value": "1" - } - }, - "keywords": ["infosec", "pentest", "osint"], - "logo": "https://github.com/dradis/dradis-ce/raw/deploy-to-heroku/app/assets/images/logo_small.png", - "name": "Dradis Framework - Community Edition", - "repository": "https://github.com/dradis/dradis-ce/tree/develop", - "scripts": { - "postdeploy": "bin/heroku" - }, - "website": "http://drad.is" -} diff --git a/bin/heroku b/bin/heroku deleted file mode 100755 index 3fd15d928..000000000 --- a/bin/heroku +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env ruby -require 'fileutils' - -# path to your application root. -APP_ROOT = File.expand_path('..', __dir__) - -def system!(*args) - system(*args) || abort("\n== Command #{args} failed ==") -end - -FileUtils.chdir APP_ROOT do - puts "\n== Copying sample files ==" - FileUtils.cp 'config/secrets.yml.template', 'config/secrets.yml' - FileUtils.cp 'config/smtp.yml.template', 'config/smtp.yml' - - puts "\n== Preparing templates folder ==" - FileUtils.mkdir 'templates' - - puts "\n== Preparing database ==" - system! 'bin/rails db:prepare' - - puts "\n== Loading some sample content ==" - system! 'bundle exec thor dradis:setup:welcome' -end