Giter Site home page Giter Site logo

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

Mark Q Schwanda's Projects

base icon base

A starting point for Meteor apps.

boilerplate-mean icon boilerplate-mean

MEAN.JS - Full-Stack JavaScript Using MongoDB, Express, AngularJS, and Node.js -

boilerplate-middleman-materialize icon boilerplate-middleman-materialize

A middleman 4 boilerplate with heroku deployment setup. Simple and easy. Includes Materialize CSS, Font-Awesome, jQuery, HTML Minification, GA setup, and a META information partial for SEO/Social Networks

boilerplate-ruby-middleman icon boilerplate-ruby-middleman

A middleman 4 boilerplate with heroku deployment setup. Simple and easy. Includes Bootstrap, Font-Awesome, jQuery, HTML Minification, GA setup, and a META information partial for SEO/Social Networks

liri-node-app icon liri-node-app

LIRI is like iPhone's SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a *Language* Interpretation and Recognition Interface. LIRI will be a command line node app that takes in parameters and gives you back data.

material-ui icon material-ui

Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

middleman-boilerplate icon middleman-boilerplate

A middleman skeleton with Bootstrap, jQuery, Font-Awesome, and a config.ru set up for instant heroku deployment. Enjoy!

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.