iporaitech / pwr2-docker

ARCHIVED: Docker image based on Ubuntu with Elixir and Phoenix Framework integrated with Webpack+Relay+React
MIT License
20 stars 6 forks source link

Advertise Docker is not required #49

Open hisapy opened 8 years ago

hisapy commented 8 years ago

In the Requirements section of the README it says

To run this software you need to install Docker on your system

However, we can actually run this project without Docker and thus, change the advertised requirements.

PS: It would be even better if we can remove the -docker suffix from the project.

hisapy commented 7 years ago

With the current .env.example you can create an .env file and use the following command to start Phoenix server:

 env $(cat .env | grep -v ^# | xargs) iex -S mix phoenix.server 

You can override variables by adding them after reading the vars from .env file. For example, in order to run some tests:

env $(cat .env | grep -v ^# | xargs) MIX_ENV=test  mix test 

We'll add detailed instructions to the README and close this issue ASAP.