Skip to content

RDP 30318 EC2 downsize #580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 50 commits into
base: legacy-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
1fe36aa
capistrano commit
saurabh-sharma-cb Apr 20, 2023
32e1608
mimemagic version update
saurabh-sharma-cb Apr 20, 2023
53c0204
dotenv gem
saurabh-sharma-cb Apr 20, 2023
afced42
deploy changes + env init
saurabh-sharma-cb Apr 20, 2023
495265e
removed tmp dir
saurabh-sharma-cb Apr 20, 2023
5f9fc7f
deploy linked dirs
saurabh-sharma-cb Apr 20, 2023
268f37a
added asset directory
saurabh-sharma-cb Apr 21, 2023
2da9936
added application setup commands
saurabh-sharma-cb Apr 21, 2023
db2797d
added capistrano rvm
saurabh-sharma-cb Apr 21, 2023
8014543
added bundler to gemfile
saurabh-sharma-cb Apr 21, 2023
a93ec55
added bowerrc
saurabh-sharma-cb Apr 25, 2023
58cc09f
deleted bowerrc
saurabh-sharma-cb Apr 25, 2023
6a17b3f
Capistrano npm plugin
saurabh-sharma-cb Apr 26, 2023
6b6e250
Capistrano npm plugin
saurabh-sharma-cb Apr 26, 2023
467f270
Deploy scripts: npm changes + rake changes
saurabh-sharma-cb Apr 26, 2023
76cacf1
server kill scripts
saurabh-sharma-cb Apr 26, 2023
d0415ec
thin config
saurabh-sharma-cb Apr 26, 2023
866bfe3
thin staging config
saurabh-sharma-cb Apr 26, 2023
eaae0bd
socket location fix
saurabh-sharma-cb Apr 26, 2023
53b2fa4
deploy scripts: server + sidekiq config
saurabh-sharma-cb Apr 27, 2023
c2b5bc5
flush assets directory
saurabh-sharma-cb Apr 27, 2023
144d98f
gem grape upgrade
saurabh-sharma-cb Apr 28, 2023
5e3b7c5
rollback setting
saurabh-sharma-cb Apr 28, 2023
05d8725
bundle update
saurabh-sharma-cb Apr 28, 2023
8d29541
finalized changes
saurabh-sharma-cb Apr 28, 2023
c1c9cdc
font-awesome update
saurabh-sharma-cb May 3, 2023
643f5a5
Revert "font-awesome update"
saurabh-sharma-cb May 3, 2023
dcadde5
Gems update
saurabh-sharma-cb May 8, 2023
5e3d09e
Revert "Gems update"
saurabh-sharma-cb May 8, 2023
319922b
grape version change
saurabh-sharma-cb May 8, 2023
ad74050
Grape version change
saurabh-sharma-cb May 8, 2023
18343cb
removed public/assets from shared folders, due to fontawesome issue
saurabh-sharma-cb May 9, 2023
f2a904c
Ruby upgrade to 2.5.0
saurabh-sharma-cb May 11, 2023
3e5afb8
Devise update + deploy add gem installer
saurabh-sharma-cb May 11, 2023
ec5c267
Grape entity update
saurabh-sharma-cb May 11, 2023
f5bde0f
Gems update
saurabh-sharma-cb May 11, 2023
d733a02
added sassc-rails
saurabh-sharma-cb May 11, 2023
8525535
Using custom git source for grape
saurabh-sharma-cb May 11, 2023
dba5bec
reverting changes
saurabh-sharma-cb May 11, 2023
c1f7209
Gemfile changes
saurabh-sharma-cb May 11, 2023
575ea08
grape source change
saurabh-sharma-cb May 11, 2023
0162346
paperclip fixes
saurabh-sharma-cb May 15, 2023
0a4e699
webpages update error
saurabh-sharma-cb May 16, 2023
7bbe08c
added hashie mash to webpages
saurabh-sharma-cb May 16, 2023
6b2797b
Updated readme: added deployment changes + instructions
saurabh-sharma-cb May 29, 2023
71e8213
perform cache bust now
saurabh-sharma-cb May 31, 2023
c45b3dc
fix cache bust
saurabh-sharma-cb May 31, 2023
7f6ef59
staging deploy changes
saurabh-sharma-cb Sep 18, 2023
a175924
removed elasticache update temporarily
saurabh-sharma-cb Jul 16, 2024
76d6ec0
reverting changes for elastiserch update
saurabh-sharma-cb Jul 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Load DSL and set up stages
require "capistrano/setup"

# Include default deployment tasks
require "capistrano/deploy"

# Load the SCM plugin appropriate to your project:
#
# require "capistrano/scm/hg"
# install_plugin Capistrano::SCM::Hg
# or
# require "capistrano/scm/svn"
# install_plugin Capistrano::SCM::Svn
# or
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

# Load the RVM plugin
require 'rvm1/capistrano3'
# Load NPM plugin
require 'capistrano/npm'
# Load thin server plugin
require 'capistrano/thin'

# Include tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
#
# https://github.com/capistrano/rvm
# https://github.com/capistrano/rbenv
# https://github.com/capistrano/chruby
# https://github.com/capistrano/bundler
# https://github.com/capistrano/rails
# https://github.com/capistrano/passenger
#
# require "capistrano/rvm"
# require "capistrano/rbenv"
# require "capistrano/chruby"
# require "capistrano/bundler"
# require "capistrano/rails/assets"
# require "capistrano/rails/migrations"
# require "capistrano/passenger"
# require 'capistrano/ssh_doctor'
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
31 changes: 24 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
source 'https://rubygems.org'
ruby '2.4.5'
gem 'bundler', '=2.3.26'

gem 'dotenv', '~> 2.6', '>= 2.6.0'
gem 'dotenv-rails'
# Dependency Management
gem 'bower-rails', '~> 0.11.0'

Expand All @@ -15,14 +18,14 @@ gem 'cortex-exceptions', '= 0.0.4'
gem 'cortex-plugins-core', '= 0.12.4'

# API
gem 'grape', '~> 0.19.2'
gem 'grape-entity', '~> 0.6.1'
gem 'grape-swagger', '~> 0.27.3'
gem 'grape-swagger-entity', '~> 0.2.1'
gem 'grape', github: 'saurabh-sharma-cb/grape-cortex', branch: 'v1.5.3-grape-cortex'
gem 'grape-entity'
gem 'grape-swagger'
gem 'grape-swagger-entity'

# Authorization
gem 'six', '~> 0.2.0'
gem 'devise', '~> 4.2.1'
gem 'devise', '~> 4.8.1'
gem 'rack-oauth2', '~> 1.6.1'
gem 'doorkeeper', '~> 4.2'
gem 'rolify', '~> 5.1'
Expand Down Expand Up @@ -55,6 +58,7 @@ gem 'rack-cors', '~> 0.4.1', require: 'rack/cors'
gem 'excon', '~> 0.55.0'
gem 'hashie', '~> 3.5.5'
gem 'hashr', '~> 2.0.1'
gem 'mimemagic', '~> 0.3.9'
gem 'mime-types', '~> 3.1.0'
gem 'interactor-rails', '~> 2.0'
gem 'virtus', '~> 1.0.5'
Expand Down Expand Up @@ -108,6 +112,8 @@ gem 'dialog-polyfill-rails', '~> 0.4.5'
gem 'flipper', '< 0.11'
gem 'flipper-ui', '< 0.11'
gem 'flipper-active_record', '< 0.11'
gem 'foreman'
gem 'thin'

group :tasks do
# Parsing
Expand All @@ -116,8 +122,7 @@ end

group :test, :development do
# Environment
gem 'dotenv-rails', :require => 'dotenv/rails-now'
gem 'foreman'
# gem 'dotenv-rails', :require => 'dotenv/rails-now'

# Cache/Sidekiq
gem 'redis-namespace'
Expand Down Expand Up @@ -183,3 +188,15 @@ group :staging, :production do
# Performance
gem 'bootscale', require: false
end

group :development do
gem 'capistrano', '~> 3.10', require: false
gem 'capistrano-rails', '~> 1.3', require: false
gem 'ed25519', '~> 1.3'
gem 'bcrypt_pbkdf', '~> 1.1'
gem 'rvm1-capistrano3', require: false
gem 'capistrano-npm'
gem 'capistrano-thin', '~> 2.0.0'
# Environment variable autoload from .env
# gem 'dotenv', '~> 2.6', '>= 2.6.0'
end
Loading