Coder Social home page Coder Social logo

msrt-spotify's Introduction

Getting Started

Managing GitHub

GitHub: App Repo
Git: Docs, Download

  • Cloning from GitHub
    # clone project from github
    git clone https://github.com/mqschwanda/RD-Listen)
    # navigate into the code directory where application lives
    cd rd-listen/
    # install NPM packages
    npm install
  • Create New GitHub Repository

    # The git remote set-url command changes an existing remote repository URL.
    git remote set-url origin https://github.com/<USERNAME>/<REPOSITORY>.git
    # Adds the files in the local repository and stages them for commit. To unstage a file, use 'git reset HEAD YOUR-FILE'.
    git add .
    # Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.
    git commit -m "Upload App"
    # Pushes the changes in your local repository up to the remote repository you specified as the origin
    git push -u origin master
  • Git Status
    Docs: git status
    # check current working branch by returning a status report from git
    git status
  • Checkout Branch
    Docs: git checkout
    # change current working branch to an existing branch named `<BRANCH_NAME>`
    git checkout <BRANCH_NAME>
  • Checkout New Branch
    Docs: git checkout
    # change current working branch by creating a new branch named `<BRANCH_NAME>`
    git checkout -b <BRANCH_NAME>
  • Push Update to Branch
    Docs: git add | git commit | git push
    # Adds the files in the local repository and stages them for commit. To unstage a file, use 'git reset HEAD <YOUR-FILE>'.
    git add .
    # Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.
    git commit -m "<COMMIT_MESSAGE>"
    # Pushes the changes in your local repository up to the `<BRANCH_NAME>` of the remote repository you specified as origin
    git push origin <BRANCH_NAME>
  • Pull Branch from Github
    Docs: git pull
    # Pulls contents from a remote repository's `<BEANCH_NAME>` into your local repository
    git pull origin <BRANCH_NAME>

Node Scripts

Node: Docs, Download
NPM: Docs

  • Start
      # Runs package.json start script
    npm start
  • Test
    # Runs `package.json` test script
    npm run test
  • Lint
    # Runs `package.json` lint script and returns ESlint report
    npm run lint
  • Install Node Module
    Docs: npm install
    # Install and save a node module to the `package.json`
    # If the node package only for dev pass the `--save-dev` flag instead
    npm install <PACKAGE_NAME> --save
  • Updating Node Modules
    Docs: npm update
    # Every so often, you should update the packages you depend on so you can get any changes that have been made to code upstream.
    npm update

Heroku Scripts

  • Create New Heroku App

Docs: Deploying with Git, Deploy to Heroku with Git,

# Create a Heroku app from the command line
heroku create
# Link to Heroku with a git remote.
heroku git:remote -a <APP_NAME> -r <REMOTE_NAME>
# Set this repository as the buildpack URL
heroku buildpacks:set -r <REMOTE_NAME> https://github.com/AdmitHub/meteor-buildpack-horse.git
# Set the ROOT_URL environment variable
heroku config:set -r <REMOTE_NAME> ROOT_URL="https://<APP_NAME>.herokuapp.com"
#
git push <REMOTE_NAME> master

The application is now hosted at https://<APP_NAME>.herokuapp.com

msrt-spotify's People

Contributors

mqschwanda avatar strentnj avatar tomtom828 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

strentnj

msrt-spotify's Issues

Meet Up Friday

Hi all,

Lets meet up at the Panera by RU Bootcamp at Noon tomorrow, 9/30.
441 Elizabeth Ave, Somerset, NJ 08873

(I figured to add this here in addition to slack since idk if the instructors will be able to see our collaboration in Slack)

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.