Giter VIP home page Giter VIP logo

next.js's Introduction

This is a monorepo project, bootstrapped with Next.js and custom Gulp scripts. It uses:

Development Installation

  1. Install Node.js, if you haven't already (version 10.15.3).
  2. Install Yarn package manager, if you haven't already.
  3. Install LiveReload Chrome extension, for hot-reloading of CSS style changes.
  4. Install Webstorm IDE, then configure code style, install Save Action plugin and configure it like this screenshot;
  5. Navigate to project root folder and install dependencies by running this command in terminal:

yarn

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in Chrome browser, then activate LiveReload extension.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner (or yarn test --watch -o to run in interactive watch mode).
See the section about running tests for more information.

yarn build

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Installation on Windows

  1. Enable pasting into command prompt with CTRL + V

  2. Install Git https://git-scm.com/downloads.

  3. Enable Git password caching by installing https://gitcredentialstore._plex.com/.

  4. Setup up git global configs at C:\Users\username (OPTIONAL)

  • Option 1: Add this to .gitconfig file (usually located at C:\Users\username)
# This is Git's per-user configuration file.
[user]
    name = Full Name
    email = [email protected]
[alias]
    st = status
    ci = commit -m
    amend = commit --amend
    co = checkout
    cp = cherry-pick
    br = branch -avv
    up = rebase
    unstage = reset HEAD --
    last = log -1 HEAD
    lg = log --graph --pretty=format:'%C(auto)%h -%d %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[push]
    default = simple
  • Option 2: Using command line
# Tell Git who you are
git config --global user.name "Full Name"
git config --global user.email [email protected]
# Add some SVN-like aliases
git config --global alias.st "status"
git config --global alias.ci "commit -m"
git config --global alias.amend "commit --amend"
git config --global alias.co "checkout"
git config --global alias.cp "cherry-pick"
git config --global alias.br "branch -avv"
git config --global alias.up "rebase"
git config --global alias.unstage "reset HEAD --"
git config --global alias.last "log -1 HEAD"
git config --global alias.lg "log --graph --pretty=format:'%C(auto)%h -%d %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
git config --global push.default "simple"

next.js's People

Contributors

ecoinomist avatar

Watchers

 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.