This is a monorepo project, bootstrapped with Next.js and custom Gulp scripts. It uses:
- Install Node.js, if you haven't already (version 10.15.3).
- Install Yarn package manager, if you haven't already.
- Install LiveReload Chrome extension, for hot-reloading of CSS style changes.
- Install Webstorm IDE, then configure code style, install
Save Action
plugin and configure it like this screenshot; - Navigate to project root folder and install dependencies by running this command in terminal:
In the project directory, you can run:
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.
Launches the test runner (or yarn test --watch -o
to run in interactive watch mode).
See the section about running tests for more information.
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!
-
Enable pasting into command prompt with CTRL + V
- Install https://www.autohotkey.com/.
- Download and execute http://www.howtogeek.com/wp-content/uploads/gg/up/PasteCommandPrompt.ahk.
-
Install Git https://git-scm.com/downloads.
-
Enable Git password caching by installing https://gitcredentialstore._plex.com/.
-
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"