Skip to content

Instantly share code, notes, and snippets.

@dre1080

dre1080/.powenv

Last active Mar 21, 2018
Embed
What would you like to do?
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

This comment has been minimized.

Copy link

@mikefogg mikefogg commented Apr 6, 2015

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

@PandaWhisperer

This comment has been minimized.

Copy link

@PandaWhisperer PandaWhisperer commented Nov 13, 2017

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
You can’t perform that action at this time.