diff --git a/.env.example b/.env.example index 824ceca..855ee8c 100644 --- a/.env.example +++ b/.env.example @@ -2,3 +2,9 @@ DATABASE_URL=postgres://postgres:@db:5432/bsdsec_development TEST_DATABASE_URL=postgres://postgres:@db:5432/bsdsec_test TEST_EMAIL=test@example.com MAILGUN_INGRESS_API_KEY=asdf +# Consumer Keys +TWITTER_CONSUMER_KEY=aa +TWITTER_CONSUMER_SECRET=ddd +# Access Token and Secret +TWITTER_ACCESS_TOKEN=sdss +TWITTER_ACCESS_SECRET=asda diff --git a/Procfile b/Procfile index f42dc75..28ccbaa 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ -web: bundle exec puma -C config/puma.rb +web: puma -C config/puma.rb release: rails db:migrate diff --git a/fly.toml b/fly.toml deleted file mode 100644 index 937be2f..0000000 --- a/fly.toml +++ /dev/null @@ -1,41 +0,0 @@ -# fly.toml app configuration file generated for bsdsec on 2024-03-07T19:49:34+01:00 -# -# See https://fly.io/docs/reference/configuration/ for information about how to use this file. -# - -app = 'bsdsec' -primary_region = 'fra' -kill_signal = 'SIGINT' -kill_timeout = '5s' - -[build] - builder = 'heroku/builder:22' - buildpacks = ['heroku/nodejs', 'heroku/ruby'] - - [build.args] - SECRET_KEY_BASE = 'asdf' - -[deploy] - release_command = 'rails db:migrate' - -[processes] - app = 'puma -C config/puma.rb' - -[[services]] - protocol = 'tcp' - internal_port = 3000 - processes = ['app'] - -[[services.ports]] - port = 80 - handlers = ['http'] - force_https = true - -[[services.ports]] - port = 443 - handlers = ['tls', 'http'] - - [services.concurrency] - type = 'connections' - hard_limit = 25 - soft_limit = 20