-
-
Save naimrajib07/48525cdb16a4bf50e5098c4476a4a8aa to your computer and use it in GitHub Desktop.
Using Pow!! with Foreman (Configuration)
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
# In your app's root. | |
# Make Pow!! export all the env variables contained in the .env file used by Foreman. | |
export $(cat .env) |
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
# This should be run once only | |
cd /path/to/myapp | |
echo 7000 > .port # Whatever port your app server is using | |
ln -s $PWD/.port ~/.pow/`basename $PWD` | |
echo "port: 7000" > .foreman | |
# Then start your app normally everytime with: | |
# > foreman start | |
# Voila! App will be available at http://myapp.dev |
Author
naimrajib07
commented
Apr 2, 2017
- http://pow.cx/manual.html#section_2.6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment