Git Product home page Git Product logo

designintechreport-2018's Introduction

Design In Tech Report 2018 Multi-Lingual Translation

Origins

This began as a project that Takram led to refactor and open source the Design in Tech Report. I've been finally learning lot of things I should have learned a long time ago from @shotamatsuda and the Takram team. Thank you! —@johnmaeda

Getting Started

  1. Make sure you have the latest node and npm (9.7.1 and 5.7.1 at the time of this writing).

  2. Clone and install node modules.

    git clone [email protected]:johnmaeda/designintechreport-2018.git
    cd designintechreport-2018
    npm install
  3. Start webpack dev server on http://localhost:3000.

    npm start

Building

Runing the following command outputs compiled files in the build directory.

npm run build

Editing Markdown

src/index.md is the markdown source file for remark.js.

Github Flavoured Markdown explicitly states that 4 spaces are needed to indent list items, which is a bit wider, personally. It may make you better to configure the tab width of your editor to 2 spaces or whatever you prefer and use tabs in Markdown files.

Working with Git

Here're some useful resources:

Updating Local Branch

git pull

This retrieves changes from the remote tracking branch of a remote repo.

Pull is fetch + merge, meaning if you have any local changes you must stash the changes first:

git stash # Save your local changes in a stash
git pull
git stash pop # Apply and delete the stash

When you see package.json in changed files after pulling, make sure to do:

npm install

This updates the installation of npm dependencies in your local copy according to the updated package.json. Don't confuse it with npm update, which checks for newer versions (minor and patch of semver) of all the dependencies and updates package.json.

Commiting and Pushing

git commit -m '<your commit message>'
git push

This makes a new commit, and sends the commit data and refs to the remote tracking branch of a remote repo.

Checking Out a Branch

git checkout -b <local ref> <remote ref>

This create and checkout a new local branch with a remote tracking info to the remote branch.

The order of arguments and its notation is confusing.

git checkout -b master origin/master # Checkout remote `master` branch
git checkout -b feature/fix origin/feature/fix # Checkout remote `feature/fix` branch

designintechreport-2018's People

Contributors

shotamatsuda avatar johnmaeda avatar

Watchers

James Cloos avatar Ryosuke Fujii avatar Yosuke Ushigome 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.