-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kevin Friedman
committed
Aug 1, 2018
0 parents
commit ed5d745
Showing
301 changed files
with
50,022 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
option_settings: | ||
aws:elasticbeanstalk:application:environment: | ||
LOGGING: debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
files: | ||
'/etc/awslogs/config/application_log.conf' : | ||
mode: "000444" | ||
owner: root | ||
group: root | ||
content: | | ||
[application_log] | ||
file = /var/app/current/log/mylibrarynyc.log* | ||
log_group_name = `{"Fn::Join":["/", ["/aws/elasticbeanstalk", { "Ref":"AWSEBEnvironmentName" }, "var/app/current/log/mylibrarynyc-app.log"]]}` | ||
log_stream_name = {instance_id} | ||
|
||
commands: | ||
restart_awslogs: | ||
command: service awslogs restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
option_settings: | ||
aws:elasticbeanstalk:cloudwatch:logs: | ||
StreamLogs: true | ||
DeleteOnTerminate: false | ||
RetentionInDays: 90 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
commands: | ||
setup_swap: | ||
command: | | ||
/bin/dd if=/dev/zero of=/var/swapfile bs=1M count=2048 | ||
/bin/chmod 600 /var/swapfile | ||
/sbin/mkswap /var/swapfile | ||
/sbin/swapon /var/swapfile | ||
test: "test ! -e /var/swapfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
option_settings: | ||
aws:elasticbeanstalk:healthreporting:system: | ||
SystemType: enhanced |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
option_settings: | ||
aws:elasticbeanstalk:managedactions: | ||
ManagedActionsEnabled: true | ||
PreferredStartTime: "Sun:02:00" | ||
aws:elasticbeanstalk:managedactions:platformupdate: | ||
UpdateLevel: minor | ||
InstanceRefreshEnabled: true |
4 changes: 4 additions & 0 deletions
4
.ebextensions/https_configs/https-nypl-digital-dev.config.sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
option_settings: | ||
aws:elb:loadbalancer: | ||
LoadBalancerHTTPSPort: 443 | ||
SSLCertificateId: arn:aws:acm:us-east-1:946183545209:certificate/aee40806-85d9-4e4f-973d-4430105a0369 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
option_settings: | ||
aws:elb:loadbalancer: | ||
LoadBalancerHTTPSPort: 443 | ||
SSLCertificateId: arn:aws:acm:us-east-1:224280085904:certificate/81061d9f-0a08-4440-bdc0-016e4d40b423 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile ~/.gitignore_global | ||
|
||
# Ignore bundler config | ||
/.bundle | ||
|
||
# Ignore the default SQLite database. | ||
/db/*.sqlite3 | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
/tmp | ||
|
||
# User ignores | ||
#/config/database.yml | ||
/_dev | ||
/.project | ||
.DS_Store | ||
|
||
# Ignore .dump | ||
/mylibnyc.dump | ||
|
||
# Elastic Beanstalk Files | ||
.elasticbeanstalk/* | ||
!.elasticbeanstalk/*.cfg.yml | ||
!.elasticbeanstalk/*.global.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: generic | ||
deploy: | ||
- provider: elasticbeanstalk | ||
skip_cleanup: true | ||
access_key_id: "$AWS_ACCESS_KEY_ID_DEVELOPMENT" | ||
secret_access_key: "$AWS_SECRET_ACCESS_KEY_DEVELOPMENT" | ||
region: us-east-1 | ||
app: my-library-nyc-app | ||
env: my-library-nyc-app-development | ||
bucket_name: elasticbeanstalk-us-east-1-224280085904 | ||
bucket_path: my-library-nyc-app-development | ||
on: | ||
repo: NYPL/MyLibraryNYC | ||
branch: development | ||
env: | ||
global: | ||
- secure: kU22NeR5MRu32K3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4qsvkwXoUl20QizJE3IaEQPsannUCKvfhBCl8d+vbU/MmY/LL+RSQvEoHvgIADa8trNGQz26EVrMe/pFqYHnjb5AjPbEk+WdnzS1qTiN1H7x6hP5HF6DSdv759pXfi0vVKWHB53m5Jm7G7hPxvwvk3h7DVNTibM5e/JUzoBR+MzuUEz1E5YFHZ39ScnSiM+Ep7Tf1OvE43gtN3BPJiVc0IDXQY63shc+Cr1Xo2ipx8F0wDIRguCEiOTG9eH0oVPseUQnHcpPwIeXxhVew/bXL8+B9JEzqk4= | ||
- secure: TiDpCtWxc5c9LvglbV6lqTZ/ziQhSuGdhUz2UdTi4kAJz3+HSMa08dXFVFw0/HGF6U+w/Z9FHvkU93p5G+jURcvpRkpz8yGTyT8zOgCF1dPVO3fjYgl+qZfKwYI2FshhaktbMQXVy8dqMekOuxwJgQuACCUuQ0cIqCr1KhBeOQErJgjL3mLWNttaEqoeJvPFYITzSQQMJCo/aYG1UDDfI6AjBymUIWTTqYdJMPAHk7eN4FgOaCcjo/f9DeLmJ8MwkF8T5yMTqEePbutgqL2E+4Wc1ZmPCVrUExAGjyuWxCHZIoc2YL0TIjvm7KiIzo8TsfniA4RGK1f9f+k2My0eq00kECVIQxCYHfTffUrDR1JzHzXseK1h1CUPY6k7LOBuYP9Dbt/yAk/LKZz1jVQYBd9t/ODaSKZrRVoMh9aIOtPG86uMkKx+Le50juECklTO2xJyQp+eCu7VTFAnSwR0Z/Np6q0j9Bm5SPK/5dtz/cDM9+HS+bC8R93kVXD3YmXJgOEi7vD/ADoaoLpvk02uqsTM0LkVVvlfI+YjQf1Sv9Ew/Z33Q+3AHe89hj9MHXzU+lyqKw6vu0tsdxsF66ZUUQzSIlbgyEW09HIjMNpWZkM0Rwi8kRe0r21703j21leEtEuxtpCnImweI8gChoy8vVvf6PburHkb6xKwW45SS7I= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
ruby '2.2.10' | ||
|
||
source 'https://rubygems.org' | ||
|
||
gem 'rails', '3.2.13' | ||
|
||
# Bundle edge Rails instead: | ||
# gem 'rails', :git => 'git://github.com/rails/rails.git' | ||
gem 'test-unit' | ||
gem 'pg' | ||
|
||
gem 'webmock' | ||
group :development do | ||
gem 'pry-rails' | ||
end | ||
|
||
# Gems used only for assets and not required | ||
# in production environments by default. | ||
group :assets do | ||
gem 'sass-rails', '~> 3.2.3' | ||
gem 'coffee-rails', '~> 3.2.1' | ||
|
||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | ||
gem 'therubyracer', :platforms => :ruby | ||
|
||
gem 'uglifier', '>= 1.0.3' | ||
end | ||
|
||
gem "jquery-rails", "< 3.0.0" | ||
# gem 'jquery-rails' | ||
gem "font-awesome-rails" | ||
gem 'devise' | ||
|
||
gem 'faker' | ||
gem 'rubocop' | ||
|
||
gem 'aws-sdk' | ||
gem 'json' | ||
gem 'httparty' | ||
gem 'will_paginate', '~> 3.0' | ||
gem 'addressable' | ||
gem 'nokogiri' | ||
|
||
# gem 'kaminari' | ||
gem 'activeadmin', '0.6.6' | ||
# gem "activeadmin", github: "gregbell/active_admin" | ||
gem 'meta_search', '>= 1.1.0.pre' | ||
|
||
gem 'yaml_db' | ||
gem "active_model_serializers", '~> 0.8.1' | ||
|
||
|
||
gem 'open_uri_redirections' | ||
|
||
# Figaro gem used to hide Sendgrid keys and other sensitive info | ||
gem 'figaro' | ||
# Official Sendgrid web API | ||
gem 'sendgrid-ruby', '~> 1.1.6' |
Oops, something went wrong.