Giter Site home page Giter Site logo

otp_v2's Introduction

LiveView June 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 (I'm running npm -v 6.13.4)
  • Phoenix 1.5.7+ (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.
  • Go to https://github.com/groxio-learning/otp_v2
  • Click the fork button in the upper right corner
  • Navigate to your local version (at something like [email protected]:your-github-user/otp_v2.git. )
  • Copy the clone address to your clipboard. In the upper right, click clone or download then copy to clipboard
  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 otp_v2
  • Verify your remote:
$ git remote -v
> origin  https://github.com/your-user/otp_v2.git (fetch)
> origin  https://github.com/your-user/otp_v2.git (push)
  • If there's no origin, set it. Make sure you replace your-github-user:
otp_v2> git remote add origin https://github.com/your-github-user/otp_v2.git
  • Verify your remote:
$ git remote -v
> origin  https://github.com/your-user/otp_v2.git (fetch)
> origin  https://github.com/your-user/otp_v2.git (push)
  • Set the upstream to the Groxio repo:
otp_v2> git remote add upstream https://github.com/groxio-learning/otp_v2.git
  • Verify the remotes:
> origin  https://github.com/your-user/otp_v2.git (fetch)
> origin  https://github.com/your-user/otp_v2.git (push)
> upstream  https://github.com/groxio-learning/otp_v2.git (fetch)
> upstream  https://github.com/groxio-learning/otp_v2.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
- Your Name Here Jr.
  • 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!

otp_v2's People

Contributors

batate avatar kalbozo avatar jasontwong avatar gretzky avatar adigitalmonk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.