Skip to content

Instantly share code, notes, and snippets.

@dre1080
Last active March 21, 2018 14:06
Show Gist options
  • Star 19 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save dre1080/3980988 to your computer and use it in GitHub Desktop.
Save dre1080/3980988 to your computer and use it in GitHub Desktop.
Using Pow!! with Foreman (Configuration)
# In your app's root.
# Make Pow!! export all the env variables contained in the .env file used by Foreman.
export $(cat .env)
# 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
@mikefogg
Copy link

mikefogg commented Apr 6, 2015

I'm know this is old.. but flawless :) Thank you!

@PandaWhisperer
Copy link

Doesn't seem to work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment