Skip to content

Commit

Permalink
Merge pull request #43 from dwyl/DWYL_API_KEY-issue#42
Browse files Browse the repository at this point in the history
PR: AUTH_API_KEY issue #42
  • Loading branch information
SimonLab authored May 12, 2020
2 parents 0f2b9fd + a3dff03 commit 9744fe5
Show file tree
Hide file tree
Showing 101 changed files with 3,394 additions and 1,042 deletions.
9 changes: 9 additions & 0 deletions .env_sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export ADMIN_EMAIL=youremail@gmail.com
export AUTH_API_KEY=2PzB7PPnpuLsbWmWtXpGyI+kfSQSQ1zUW2Atz/+8PdZuSEJzHgzGnJWV35nTKRwx
export EMAIL_APP_URL=https://dwylmail.herokuapp.com
export GITHUB_CLIENT_ID=CreateGitHubApp
export GITHUB_CLIENT_SECRET=SuperSecret
export GOOGLE_CLIENT_ID=YourAppsClientId.apps.googleusercontent.com
export GOOGLE_CLIENT_SECRET=SuperSecret
export SECRET_KEY_BASE=2PzB7PPnpuLsbWmWtXpGyI+kfSQSQ1zUW2Atz/+8PdZuSEJzHgzGnJWV35nTKRwx
export ENCRYPTION_KEYS='nMdayQpR0aoasLaq1g94FLba+A+wB44JLko47sVQXMg=,L+ZVX8iheoqgqb22mUpATmMDsvVGtafoAeb0KN5uWf0='
5 changes: 5 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[
import_deps: [:ecto, :phoenix],
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
subdirectories: ["priv/*/migrations"]
]
25 changes: 22 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# App artifacts
/_build
/db
/deps
/*.ez

# Generated on crash by the VM
Expand All @@ -20,13 +19,33 @@ npm-debug.log
# this depending on your deployment strategy.
/priv/static/


# Ignore package tarball (built via "mix hex.build").
auth-*.tar

# The config/prod.secret.exs file by default contains sensitive
# data and you should not commit it into version control.
#
# Alternatively, you may comment the line below and commit the
# secrets file as long as you replace its contents by environment
# variables.
/config/prod.secret.exs
# /config/prod.secret.exs
.env

.elixir_ls
.elixir_ls

# If you run "mix test --cover", coverage assets end up here.
/cover/

# Ignore .fetch files in case you like to edit your project deps locally.
/.fetch

# Where 3rd-party dependencies like ExDoc output generated docs.
/doc/

# The directory Mix downloads your dependencies sources to.
/deps/

*.DS_Store
*.idea
*.iml
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
language: elixir
elixir:
- 1.7
addons:
postgresql: '9.4'
- 1.10.2
otp_release:
- 22.1.8
services:
- postgresql
env:
- MIX_ENV=test
before_script:
- mix do ecto.create, ecto.migrate
- mix ecto.setup
script:
- mix do deps.get, compile --warnings-as-errors, coveralls.json
# after_success:
# - bash <(curl -s https://codecov.io/bash)
- mix do deps.get, coveralls.json
# See: github.com/dwyl/repo-badges#documentation
after_script:
- MIX_ENV=docs mix deps.get
- MIX_ENV=docs mix inch.report
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- _build
- deps
340 changes: 340 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

Loading

0 comments on commit 9744fe5

Please sign in to comment.