-
Notifications
You must be signed in to change notification settings - Fork 25
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
[gh394] Remove the Figaro gem dependency #400
Closed
Closed
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
786b5c7
[gh394] Remove the figaro dependency in favor of dotenv gem and a .en…
malparty afc46b3
Move .env.example to root
malparty b513d5d
Remove application.ymk.tt
malparty feeeff6
Merge the .env from docker adddon with .env.example
malparty 6b4ec94
Fix tests errors
malparty 9e9a73d
Test with .env.local for non sensistive ENV VAR
malparty 18fc0ac
Test to comment the server spec part
malparty b0df847
Test
malparty 771ccd2
Try bundle install update before start.sh
malparty File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,20 @@ | ||
# DO NOT STORE SECRETS HERE. | ||
# Use .env.development for local secrets. | ||
|
||
REDIS_URL=redis://localhost:6379 | ||
|
||
# CI/CD | ||
TEST_RETRY=0 | ||
CI=false | ||
|
||
MAILER_DEFAULT_HOST=localhost | ||
MAILER_DEFAULT_PORT=3000 | ||
MAILER_SENDER=Test <[email protected]> | ||
|
||
# Locales | ||
AVAILABLE_LOCALES=en | ||
DEFAULT_LOCALE=en | ||
FALLBACK_LOCALES=en | ||
|
||
SECRET_KEY_BASE=replace_with_lengthy_secure_hex |
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 @@ | ||
# DO NOT COMMIT THIS FILE (`.env.development`) | ||
# Rename it to `.env.development` and use it for local secrets only. | ||
|
||
# Used to verify the integrity of signed cookies. so ensure a secure value is set | ||
SECRET_KEY_BASE=replace_with_lengthy_secure_hex |
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -29,8 +29,9 @@ | |
run 'yarn add postcss postcss-cli autoprefixer' | ||
|
||
run 'yarn add --dev @nimblehq/[email protected]' | ||
run 'yarn add --dev stylelint' | ||
run 'yarn add --dev stylelint@14' | ||
run 'yarn add --dev @nimblehq/stylelint-config-nimble' | ||
|
||
# Setup scripts | ||
run 'npm set-script eslint "eslint . --color"' | ||
run 'npm set-script eslint:fix "eslint . --color --fix"' | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
default: &default | ||
adapter: postgresql | ||
encoding: unicode | ||
pool: 5 | ||
|
||
development: | ||
<<: *default | ||
host: <%= ENV.fetch('DB_HOST') { 'localhost' } %> | ||
port: <%= ENV.fetch('DB_PORT') { 5432 } %> | ||
username: <%= ENV.fetch('DB_USERNAME') { 'postgres' } %> | ||
password: <%= ENV.fetch('DB_PASSWORD') { 'postgres' } %> | ||
database: <%= ENV.fetch('DB_NAME') { APP_NAME } %>_development | ||
|
||
test: | ||
<<: *default | ||
host: <%= ENV.fetch('DB_HOST') { 'localhost' } %> | ||
port: <%= ENV.fetch('DB_PORT') { 5432 } %> | ||
username: <%= ENV.fetch('DB_USERNAME') { 'postgres' } %> | ||
password: <%= ENV.fetch('DB_PASSWORD') { 'postgres' } %> | ||
database: <%= ENV.fetch('DB_NAME') { APP_NAME } %>_test | ||
|
||
production: | ||
url: <%= ENV.fetch('DATABASE_URL') { '' } %> | ||
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will only work for heroku afaik
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
Andy found a part of the solution in #411 — but the implementation still require some improvements 💭