This repository is aimed at getting a working environment installed and configured to start developing an application using the Phoenix Framework.
It will attempt to install the stack as described in the Installation and the Up And Running guides.
You will need the following applications, installed on your development machine.
Install Git from here
$ git --version
$ git version 1.9.5 (Apple Git-50.3)Install VirtualBox from here
$ vboxmanage --version
$ 4.3.24r98716Install Vagrant from here
$ vagrant --version
$ Vagrant 1.6.5Download the release as tar.gz or zip format
$ curl -OL https://github.com/monkeyphp/phoenix-stack/archive/0.0.1.tar.gz
$ tar -xzf 0.0.1.tar.gz
$ mv phoenix-stack-0.0.1 phoenix-stack
$ cd phoenix-stack Or clone out this repository
$ git clone [email protected]:monkeyphp/phoenix-stack.git
$ cd phoenix-stack
$ rm -Rf .gitThe following commands should start the Vagrant VM and install the development stack.
$ cd phoenix-stack/tools/vagrant
$ vagrant upReplace
myappwith your application name
$ cd phoenix-stack/tools/vagrant
$ vagrant ssh
$ cd /mnt/project/phoenix-stack
$ mix phoenix.new myapp $ cd phoenix-stack/tools/vagrant
$ vagrant ssh
$ cd /mnt/project/phoenix-stack/myapp
$ mix ecto.createIf you get the error
$ ** (Mix) The task "ecto.create" could not be foundcheck that you have changed to your application root directory ie
$ cd /mnt/project/phoenix-stack/myapp` $ cd phoenix-stack/tools/vagrant
$ vagrant ssh
$ cd /mnt/project/phoenix-stack/myapp
$ mix phoenix.serverYou should now be able to access your site in your browser at: http://192.168.99.210:4000/