-
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.
Rename test job to rspec in CI, add rake env:setup task, and update R…
…EADME
- Loading branch information
1 parent
99f0934
commit be01dba
Showing
7 changed files
with
90 additions
and
12 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Database | ||
POSTGRES_USER= | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD= | ||
|
||
# ScoutApm | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Databse | ||
POSTGRES_USER= | ||
# Database | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD= | ||
|
||
# Redis | ||
|
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,22 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: Grigore-George-Mihai | ||
|
||
--- | ||
|
||
## Description | ||
A brief description of the issue. | ||
|
||
## Steps to Reproduce | ||
1. | ||
2. | ||
3. | ||
|
||
## Expected Behavior | ||
What did you expect to happen? | ||
|
||
## Actual Behavior | ||
What actually happened? |
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,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: Grigore-George-Mihai | ||
|
||
--- | ||
|
||
## Description | ||
A brief description of the feature you would like to see. | ||
|
||
## Motivation | ||
Why is this feature important or how does it improve the project? | ||
|
||
## Proposed Solution | ||
How do you think this feature should work? |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# frozen_string_literal: true | ||
|
||
namespace :env do | ||
desc "Create new .env files from .env.template files" | ||
task setup: :environment do | ||
development_template = ".env.development.template" | ||
test_template = ".env.test.template" | ||
development_file = ".env.development" | ||
test_file = ".env.test" | ||
|
||
if File.exist?(development_template) | ||
File.write(development_file, File.read(development_template)) unless File.exist?(development_file) | ||
puts "Created #{development_file} from #{development_template}" | ||
else | ||
puts "#{development_template} does not exist!" | ||
end | ||
|
||
if File.exist?(test_template) | ||
File.write(test_file, File.read(test_template)) unless File.exist?(test_file) | ||
puts "Created #{test_file} from #{test_template}" | ||
else | ||
puts "#{test_template} does not exist!" | ||
end | ||
end | ||
end |