Watch our video walkthrough
tl;dr
# Create your new project
mix new your_project
cd your_project
# Add '{:sugar, "~> 0.4.9"}'
# to your deps
vi mix.exs
# Get dependencies and compile them
mix do deps.get, deps.compile
# Add your Sugar files
mix sugar.init
# Start your server
iex -S mix
iex(1)> YourProject.Router.run
For an in-depth look at working with Sugar, head over to our Getting Started section, where we walk through the process of creating an application with Sugar from the start.
Sugar is released under the MIT License.
Theme based on Bolt by BlackTie.co.
OUR STORY
Why build this when Dynamo, Weber, and Phoenix exist with growing communities? While both projects are great in their own right, Sugar aims to be another contender, sparking more development on all three projects (and/or others that may follow) and giving developers another option when deciding what framework fits their needs best. Sugar may even strive to shake things up just as ChicagoBoss has done.
Fork us
Tweet us
Email us