This file contains hidden or 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
| use Mix.Config | |
| config :deploy_phoenix, DeployPhoenix.Endpoint, | |
| secret_key_base: "<<SECRET_GOES_HERE>>" | |
| # Configure your database | |
| config :deploy_phoenix, DeployPhoenix.Repo, | |
| adapter: Ecto.Adapters.Postgres, | |
| username: "deployphoenix", | |
| password: "mypassword", |
This file contains hidden or 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
| # ... | |
| config :deploy_phoenix, DeployPhoenix.Endpoint, | |
| http: [port: 8888], | |
| url: [host: "example.com", port: 80], | |
| cache_static_manifest: "priv/static/manifest.json" | |
| # ... | |
| config :phoenix, :serve_endpoints, true | |
| # ... |
This file contains hidden or 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
| APP="deploy_phoenix" | |
| BUILD_HOST="188.166.182.170" | |
| BUILD_USER="deploy" | |
| BUILD_AT="/tmp/edeliver/$APP/builds" | |
| RELEASE_DIR="/tmp/edeliver/$APP/builds/_build/prod/rel/$APP" | |
| # prevent re-installing node modules; this defaults to "." | |
| GIT_CLEAN_PATHS="_build rel priv/static" |
This file contains hidden or 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
| def application do | |
| [..., | |
| applications: [..., :edeliver]] | |
| end | |
| defp deps do | |
| [ | |
| ... | |
| {:edeliver, "~> 1.4.2"}, | |
| {:distillery, "~> 1.4"}] |
This file contains hidden or 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
| /*! | |
| * @preserve | |
| * | |
| * Readmore.js jQuery plugin | |
| * Author: @jed_foster | |
| * Project home: http://jedfoster.github.io/Readmore.js | |
| * Licensed under the MIT license | |
| * | |
| * Debounce function from http://davidwalsh.name/javascript-debounce-function | |
| */ |
NewerOlder