Giter Site home page Giter Site logo

brainstation-3d-hackers's Introduction

Brainstation 3D - Team Website Template

Setup

1. Team Dynamics

  1. Pick someone into your time to host the main repository on their GitHub account.

  2. Create the git repository on GitHub. It doesn't matter if the repo is public or private. DON'T initialize the repository!

  3. Add your team members as collaborators to the repository.

  4. Clone the repo to you and your team members' computers.

    git clone <<your_github_repo_url>>

2. Production Github Account Setup

  1. Contact the Lead Educator for the Web Development program to get the repo to clone from.

  2. Send the GitHub username that will be pushing changes for your team. We will add you as a collaborator to this additional production repository.

  3. Add the production repo as an another remote, apart from origin in your own local git directory

    $ git remote add production <<production_github_repo_url>>
  4. Pull in the files from the production remote

    $ git pull production master
  5. Ensure that the client works. You should see the site once everything is done.

    To install the client & start it for local development, run:

    $ npm run setup:client

    The next time you develop for the client, you don't have to install it. Just start it:

    $ npm run start:client

    FYI: The client contains npm packages installed by default so you can get ship your minimum viable website faster. They are listed in their respective package.json files and in the Resources section at the bottom of this README.

  6. Add and commit the files

    # on master
    $ git commit -a -m "Initial files from the production repo"
  7. Push the changes to your own GitHub account

    # on local master
    $ git push origin master
  8. The other dev team members should now be able to do the following. Once completed, they should see the site running on their computer.

    # on their local master
    $ git pull
    $ npm run setup:client

3. Production Push

Early in the afternoon, do a push to the production repository (regardless of the current visual state).

First, merge your changes into the master branch. Once completed, test that your site is still working correctly.

Lastly, push your changes to the production remote.

$ git push production

4. Publish to a live server

When the code is pushed to the production remote on GitHub, Netlify will build and deploy the client on Netlify servers, so you can see the site live!

Please allow a minimum of 5 minutes for the build process to complete and publish your site on Netlify.

Public Site Link

The URL for YOUR TEAM's public site is: https://bstn-3d-{SEASON HERE}-{YEAR HERE}-team-{TEAM NUMBER HERE}.netlify.com
(For example: https://bstn-3d-fall-2019-team-5.netlify.com)

Debugging

  • run a production react build locally (npm run build), serve it with the LiveServer extension and try debugging it locally
  • Use all of the debugging tools at your disposal:
    • React Developer Tools
    • Debugger Tab in the Browser
    • console.log() + the Browser Console and the debugger; statement
    • Inspect tool & Elements Tab in the Browser
  • ask the Educators to check the Netlify build logs for any issues

Resources

Client (default installs)

Other Client Resources (not installed)

brainstation-3d-hackers's People

Contributors

rjtbansal avatar jacobbayisa avatar daniil avatar

Watchers

James Cloos avatar  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.