imattman / liveview_march_2021

Groxio course repository, liveview march 2021

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LiveView Groxio, March 2021, class info. Your homework.

1 Install these tools, plus Elixir, plus Phoenix.

The tools you will need to install:

For the development dependencies, you'll need:

  • Elixir 1.11, with OTP 23. Make sure it's working:

run the command:

[clock] ➔ elixir -v
Erlang/OTP 23 [erts-11.0] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]

Elixir 1.11.2 (compiled with Erlang/OTP 23)
  • node.js. Not optional! for Phoenix assets
  • Phoenix 1.5.6+ (It includes LiveView.)

Is Phoenix working? Make sure you can run this command:

mix phx.new demo --live
(say yes to fetch dependencies and assets)

and make sure you can then create the database:

cd demo
mix ecto.create

Don't save this for the last minute! There are a few dependencies that will give you trouble if you've never done this before and decide to wait.

2. Clone this repository

  1. Fork this repository to your github account.
  1. Clone your local version to your local machine.
  • Clone it. REPLACE your-github-account with your account:
>  git clone <paste the url>
...clones repo...
cd liveview_march_2021
  • Verify your remote:
$ git remote -v
> origin  https://github.com/your-user/liveview_march_2021.git (fetch)
> origin  https://github.com/your-user/liveview_march_2021.git (push)
  • If there's no origin, set it. Make sure you replace your-github-user:
liveview_march_2021> git remote add origin https://github.com/your-github-user/liveview_march_2021.git
  • Verify your remote:
$ git remote -v
> origin  https://github.com/your-user/liveview_march_2021.git (fetch)
> origin  https://github.com/your-user/liveview_march_2021.git (push)
  • Set the upstream to the Groxio repo:
liveview_march_2021> git remote add upstream https://github.com/groxio-learning/liveview_march_2021.git
  • Verify the remotes:
> origin  https://github.com/your-user/liveview_march_2021.git (fetch)
> origin  https://github.com/your-user/liveview_march_2021.git (push)
> upstream  https://github.com/groxio-learning/liveview_march_2021.git (fetch)
> upstream  https://github.com/groxio-learning/liveview_march_2021.git (push)
  1. Now check out your setup. Send me a pull request: Edit the file "pull_requests.md" and add your name:
  • git pull upstream main
  • Edit pull_requests.md
Bruce Tate
Horasmas B. Dragon
  • Commit the file and push
> git commit . -m "my commit"

...some happy success message...

> git push origin main

...some happy success message...

Now go to your repo online. Click: "Compare and create pull request"

Your homework is done!

About

Groxio course repository, liveview march 2021

License:MIT License


Languages

Language:Elixir 73.8%Language:CSS 13.1%Language:HTML 7.6%Language:JavaScript 3.6%Language:SCSS 1.9%