Giter Site home page Giter Site logo

localscoop's Introduction

Git Fork workflow

step1: push your code to your GitHub branch

step2: merger your code on your GitHub branch to your GitHub develop branch.

step3:after solved the conflict in your gitbub. Pull a request from your GitHub develop to the IDSP develop branch

step4:merge the IDSP develop to the IDSP main weekly.

Naming Conventions

variables use camelCase. This includes variables that are related to paths. ex. let theChair = "asdf"

file paths use underscores ex. localhost:8080/shopSetup_1

file names also use underscores ex. views/shop_setup_7.ejs

Steps/checklist for setting up Heroku app

  • create a repository on github
  • create a new app on Heroku
  • open jawsDB, get the inputString with the host, database, password and all
  • set IS_HEROKU = 1 in your config.vars (in Heroku)
  • connect the Heroku app to your github repository
  • go to github, clone the repo on your local machine
  • put the files you need in the git-folder on your local repo
  • open up the code on your local machine, edit databaseConnection.js to include the connection string from jawsDB
  • push your code
  • open mySQL workbench, create new connection using jawsDB connection string
  • create the tables and input the data you need
  • localhost to access it locally, heroku to access it online

S3 Photo Upload

https://www.youtube.com/watch?v=yGYeYJpRWPM&t=1s

Heroku

// tell heroku to make your current branch the master branch. Git push heroku yourCurrentBranchName:master

// push and deploy to main git push heroku main:master

// using .env with heroku https://www.youtube.com/watch?v=1G6e1cqqz3w

localscoop's People

Contributors

kevincjhung avatar yoyochen68 avatar yasminaa77 avatar idsp-fswd-dead-marshmallow 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.