Skip to content
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

S3 to backblaze in vr-backoffice #15

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
5ca2bc6
work on backend running on ruby 2.4.9 on buster
norbusan Jan 29, 2020
3b96bcc
add a service file for systemd
norbusan Jan 29, 2020
76778e5
set local ruby version to 2.4.9
norbusan Jan 29, 2020
9c3f2ca
document deployment steps on buster
norbusan Jan 29, 2020
3c6d02e
update Gemfile.lock for (hopefully?) working versions
norbusan Jan 29, 2020
a5eb271
document deployment on buster
norbusan Jan 29, 2020
20be1ef
add changes to support java11, document it in DEPLOYMENT
norbusan Jan 29, 2020
6e7b409
add link to clojure/java11 update guide
norbusan Jan 29, 2020
539d4d7
deployment docs
norbusan Jan 29, 2020
362834e
nginx installation instructions
norbusan Jan 29, 2020
def55c2
fix bundler version in deployment docs
norbusan Jan 30, 2020
73f0594
work on buster deployment, capostrano
norbusan Jul 5, 2020
38bd173
bump capostrano-rbenv deps
norbusan Jul 5, 2020
1696c03
use lein from $HOME/bin and not some other users (app/bin) dir
norbusan Jul 5, 2020
2a398a4
document current server setup and deployment progress
norbusan Jul 5, 2020
f289ac0
more capistrano modules updates to get deployment working
norbusan Jul 5, 2020
1d41176
progress in deployment
norbusan Jul 5, 2020
06d994b
pg move instruction, incomplete
norbusan Jul 5, 2020
e350023
revert to DEPLOYMENT.md from master branch, document in common repo
norbusan Jul 6, 2020
50c3e17
bump to 2.4.10 ruby version, last available
norbusan Oct 28, 2020
d6c7383
add sqlite3 to gem for now
norbusan Oct 28, 2020
cc57e8c
Gemfile.lock update
norbusan Oct 28, 2020
88ae400
Add image dragonfly
arvindkushwah9 Oct 30, 2020
9710c34
Update to rails6
arvindkushwah9 Oct 31, 2020
b3aebaa
Server srtart on productoin
arvindkushwah9 Nov 9, 2020
aed8bd5
Server start on staging
arvindkushwah9 Dec 4, 2020
0d5ff11
Set secrets kay
arvindkushwah9 Dec 4, 2020
c240fe3
Fix secrets keys
arvindkushwah9 Dec 5, 2020
5d5aa97
Revert the dev and test keys here
arvindkushwah9 Dec 5, 2020
8f553ba
revert secrets key dev and test
arvindkushwah9 Dec 5, 2020
64bdfbc
Image upload backblaze
arvindkushwah9 Dec 29, 2020
09b2b02
Talk image upload on backblaze
arvindkushwah9 Dec 30, 2020
98eeb7f
Add default images
arvindkushwah9 Dec 30, 2020
141f6ef
Update model
arvindkushwah9 Dec 30, 2020
4aaec61
Chages ruby version in deploy.rb
arvindkushwah9 Jan 6, 2021
eb2ecd3
Add link for users show page
arvindkushwah9 Jan 8, 2021
853e7ce
Add staging rb file
arvindkushwah9 Jan 8, 2021
2218c75
Set valid AWS key
arvindkushwah9 Jan 8, 2021
1200813
Set env variable setting yml
arvindkushwah9 Jan 8, 2021
174a32d
Fix messages error
arvindkushwah9 Jan 11, 2021
841bd6a
Added application.yml into shared files
arvindkushwah9 Jan 12, 2021
c4b3e7a
Remove webpacker duplicate
arvindkushwah9 Jan 12, 2021
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
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,14 @@ pom.xml.asc
/.env

/public/js/out
/public/js/app.js
/public/js/app.js
/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity

# Ignore application configuration
/config/application.yml
.byebug_history
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.2
2.7.1
57 changes: 34 additions & 23 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
source 'https://rubygems.org'

gem 'rails', '4.2.0'
ruby '2.7.1'
gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
gem 'pg'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'puma', '~> 4.1'
gem 'sass-rails', '>= 6'
gem 'webpacker', '~> 4.0'
gem 'uglifier'#, '>= 1.3.0'
gem 'coffee-rails'#, '~> 4.1.0'
gem 'haml-rails'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'jquery-ui-rails', '5.0.3'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'delayed_job', '~> 4.0.6'
gem 'delayed_job_active_record', '~> 4.0.3'
gem "highcharts-rails", "~> 3.0.0"
gem 'jbuilder'#, '~> 2.0'
gem 'delayed_job'#, '~> 4.0.6'
gem 'delayed_job_active_record'#, '~> 4.0.3'
gem "highcharts-rails"#, "~> 3.0.0"
gem 'd3_rails'
gem 'c3-rails'
gem 'faye-authentication', github: 'branch14/faye-authentication'
gem 'devise'
# sprockets is locked so that it does not update by accident to v3 which will
# crash capistrano deployment currently
gem 'sprockets', '2.12.3'

gem 'sdoc', '~> 0.4.0', group: :doc

gem 'sprockets'#, '~> 3.0'
gem 'mime-types'
gem 'sdoc', '1.1.0', group: :doc
gem 'sqlite3'#, '~> 1.3.6'
# optional
gem 'active_skin'

Expand All @@ -41,32 +42,42 @@ gem 'fog-aws', require: 'fog/aws'
gem 'unicorn'
gem 'activeadmin', github: 'activeadmin/activeadmin'
gem 'rails_config'
gem 'activeadmin-dragonfly', github: 'stefanoverna/activeadmin-dragonfly'
gem 'activeadmin-dragonfly'#, github: 'stefanoverna/activeadmin-dragonfly'
gem 'acts-as-taggable-on'

group :production do
gem 'airbrake', '~> 5.0'
gem 'airbrake'#, '~> 5.0'
end

group :development do
gem 'annotator'
gem 'capistrano', '~> 3.1.0'
gem 'capistrano-rbenv', '~> 2.0.1'
gem 'capistrano-bundler', '~> 1.1.1'
gem 'capistrano-rails', '~> 1.1.1'
gem 'capistrano', '~> 3.4.0'
gem 'capistrano-rbenv', '~> 2.1.0'
gem 'capistrano-bundler', '~> 1.6.0'
gem 'capistrano-rails', '~> 1.5.0'
end

group :development, :test do
gem 'listen', '~> 3.2'
gem 'spring'
gem 'web-console', '~> 2.0'
gem 'web-console'#, '~> 2.0'
gem 'pry-rails'
gem 'byebug'
#gem 'disable_assets_logger'

gem 'database_cleaner'
gem 'rspec-rails'
gem 'rspec_junit_formatter', '0.2.2'
gem 'rspec_junit_formatter'#, '0.2.2'
gem 'spring-commands-rspec' # TODO check if needed
gem 'rack-test'
gem 'factory_girl_rails'
end

gem 'config'
gem 'zeitwerk'
gem 'rake'
gem 'dragonfly'
gem "bourbon"
gem 'figaro'
gem 'activestorage-backblaze'
gem "aws-sdk-s3", require: false
Loading