Skip to content

Commit 3449bd1

Browse files
authored
Merge pull request #35 from dwyl/phoenix-v1.4.10
PR: Create Todo List in Phoenix v1.5.3
2 parents b737474 + e8c9af2 commit 3449bd1

File tree

129 files changed

+4163
-2636
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+4163
-2636
lines changed

.formatter.exs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[
2+
import_deps: [:ecto, :phoenix],
3+
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
4+
subdirectories: ["priv/*/migrations"]
5+
]

.gitignore

+15-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,23 @@
44
/deps
55
/*.ez
66

7+
# Where 3rd-party dependencies like ExDoc output generated docs.
8+
/doc/
9+
10+
# Ignore .fetch files in case you like to edit your project deps locally.
11+
/.fetch
12+
13+
# Ignore package tarball (built via "mix hex.build").
14+
app-*.tar
15+
716
# Generated on crash by the VM
817
erl_crash.dump
918

1019
# Static artifacts
11-
/node_modules
20+
node_modules
21+
node_modules/*
22+
npm-debug.log
23+
assets/package-lock.json
1224

1325
# Since we are building assets from web/static,
1426
# we ignore priv/static. You may want to comment
@@ -21,7 +33,7 @@ erl_crash.dump
2133
# Alternatively, you may comment the line below and commit the
2234
# secrets file as long as you replace its contents by environment
2335
# variables.
24-
/config/prod.secret.exs
36+
# /config/prod.secret.exs
2537

2638
lib-cov
2739
*.seed
@@ -36,9 +48,8 @@ pids
3648
logs
3749
results
3850

39-
npm-debug.log
40-
node_modules
4151
.DS_Store
4252
.vagrant
4353
test/coverage.html
4454
coverage/
55+
cover/

.travis.yml

+20-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,22 @@
1-
language: node_js
2-
node_js:
3-
- 0.12
1+
language: elixir
2+
elixir:
3+
- 1.10.3
4+
otp_release:
5+
- 22.1.8
46
services:
5-
- elasticsearch
7+
- postgresql
8+
cache:
9+
directories:
10+
- _build
11+
- deps
12+
script:
13+
- mix do setup, compile --warnings-as-errors, coveralls.json
14+
after_success:
15+
- bash <(curl -s https://codecov.io/bash)
616
env:
7-
- ES_HOST="127.0.0.1" ES_PORT=9200 ES_INDEX=travis JWT_SECRET="EverythingIsAwesome!"
17+
global:
18+
- MIX_ENV=test
19+
cache:
20+
directories:
21+
- _build
22+
- deps

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: node server.js
1+
web: MIX_ENV=prod mix do ecto.migrate, phx.server

0 commit comments

Comments
 (0)