This is a small cheat sheet that contains some useful links and commands. Thank you for joining us on this adventure!
Link to project repository: https://github.com/ash-project/quix
This schedule is flexible, and certain sections may go longer or shorter depending on how things go and how the group is doing.
8:30 AM - 10:00 AM |
|
10:00 AM - 10:30 AM | Break |
10:30 AM - 12:00 PM |
|
12:00 PM - 1:30 PM | Lunch |
1:30 PM - 3:00 PM |
|
3:00 PM - 3:30 PM | Break |
3:30 PM - 5:00 PM |
|
git clone git@github.com:ash-project/quix.git
# confirm your setup
mix deps.get
mix compile
mix ecto.create
Each branch is named after the section that was just completed. We start on main
.
If you want to commit your work before changing branches:
git add -A
git commit -m "Following along with class"
And then you can checkout the next branch
git checkout intro-to-resources-1
git checkout actions-actions-actions-2
git checkout apis-authentication-uis-3
# fetch dependencies
mix deps.get
# compile your application
mix compile
# create your local database and migrate it
mix ash.setup
# migrate your local database
mix ash.migrate
# drop, recreate, and migrate your local database
mix ash.reset
Gist: UserAuth, after setting up AshAuthentication
mix ash_phoenix.gen.live Quix Quix.Quiz --plural-name quizzes