The first thing you want to do is copy the drunken-elmo
directory and change the name to something else (like, say, my-awesome-app
), and then you'll need to do a three-step find and replace on the name in all the templates.
- Search for
drunken_elmo
to capture the configs. - Search for
DrunkenElmo
to capture all the function names. - Search for
Drunken Elmo
to capture all static text.
OR
- Search for:
drunken_elmo
and replace with:my-awesome-app
. - Search for:
DrunkenElmo
and replace with:MyAwesomeApp
. - Search for:
Drunken Elmo
and replace with:My Awesome App
.
Next, update or delete this readme.
Now you're ready to go! May the Elm and Elixir be with you :)
Good luck!
To start your Phoenix app:
- Clean out artifact dependencies and install fresh dependencies
rm -rf _build deps mix.lock && mix deps.clean --unused && mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Install npm packages
npm install && elm package install
- Compile Sass and JavaScript files
gulp build
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: http://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix