Comments (6)
Hi @gjaldon , I've set up a phoenix 1.3.x with dokku to try this.
added this to my .buildpacks:
https://github.com/HashNuke/heroku-buildpack-elixir.git
https://github.com/gjaldon/heroku-buildpack-phoenix-static.git#var-in-release
When using #master
things runs ok because it picks up phx
instead of phoenix
,
but with #var-in-release
I got this:
** (Mix) The task ".server" could not be found. Did you mean "phx.server"?
But this message from lib/common changes accordingly to my .config
file:
Will use phoenix configuration:
* assets path assets
* mix tasks namespace phx
(according to the value of phoenix_ex
inside phoenix_static_buildpack.config
)
It may be a thing of Dokku, when running the release script... let me test it with heroku too.
But maybe is less trouble just to leave the branch that references phoenix
instead of phx
, as a solution. Maybe, there's a minority of apps with phoenix < 1.3.x out there?
from heroku-buildpack-phoenix-static.
And Dokku:
I think I made the issue because I had already tried to use the var ${phoenix_ex}
back then.. 🤔.
Maybe is no big deal to just have a branch for old apps ? 😆
from heroku-buildpack-phoenix-static.
@rccursach just updated the branch #87. This time, I loaded the config vars inside bin/release
. Can you test it out? :)
from heroku-buildpack-phoenix-static.
it gives this: "mapping values are not allowed in this context at line 4 column 15" :/
With or without a phoenix_static_buildpack.config
. Idk what part of the code is parsing a YAML file though.
from heroku-buildpack-phoenix-static.
The above error happens bc what's echoed by the load_config() is added to the YAML output of release.
it works now in pr #88 for the var-in-release
branch
from heroku-buildpack-phoenix-static.
Addressed in #88
from heroku-buildpack-phoenix-static.
Related Issues (20)
- Build is failing with NPM_TOKEN issue HOT 2
- My build just failed on phoenix.digest vs phx.digest HOT 1
- The build is failing if there is a .yarnrc with --cwd at the root HOT 1
- Support the new Cloud Native Buildpack (CNB) format.
- Files are compiled on startup
- New versions of node break the build HOT 17
- Remove default node_version
- Support for Yarn 2?
- Update heroku commands
- ngrok Error: certificate has expired HOT 3
- question about deployment to heroku with waypoint
- nodebin.herokai.com not resolving HOT 1
- Yarn error: "Command "deploy" not found." HOT 6
- Setup test suite and CI
- Heroku Build Fails HOT 2
- heroku build fails when node patch not specified HOT 4
- Improve error message below Phoenix 1.4?
- Is it possible to skip audit when building? HOT 3
- Is it possible to cache digested Phoenix output? HOT 4
- Installs an ancient version of yarn by default HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-phoenix-static.