Created
June 22, 2015 17:08
-
-
Save rufus2021/87f6163ecab2ba4d3d0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps for creating a new branch, adding, commiting & pushing changes & creating a new pull request | |
NOTE: don't make commits directly to the develop branch. | |
step 1: git checkout develop - checks out the develop branch locally | |
step 2: git pull - gets you the latest updates for the repo | |
step 3: git checkout -b name bugfix/yaya-codes-awesome - create a new branch based off of develop | |
you make a change in sass code | |
npm test - tests code for any syntax errors | |
if no errors -> git status - shows you the files changed | |
git add . - adds all changed files | |
git commit -m 'commit message here' | |
git push (you get a message to set upstream branch) | |
copy/paste the message and hit enter | |
go to github.com/repo and create a new pull request | |
npm i && gulp sprite && gulp build
install everything.
AD:
NODE_ENV='development' NODE_COPILOT_API='ci-ad-api.aws.conde.io' PARSELY_APIKEY="architecturaldigest.com" PARSELY_SECRET="XtQS15Iqm80BOOQz3KhVs9ehvOBKYdcJlKMFXqxBTiU" gulp develop
ulimit -n 2560
ulimit -n 1024
ulimit -u 1024
copilot
git pull --rebase
Frontend
npm i && bower i
start server
ember server
Backend
another tab: cd express
-> copilot/express
npm i
start server
NODE_ENV=remoteauth npm start
Visit: copilot-local.aws.conde.io:4200
Copilot Theme
- ywang5 ~/Developer/copilot-theme
npm link
- ywang5 ~/Developer/copilot
npm link @condenast/copilot-theme
- Uncomment that part in copilot-theme/index.js
scss-lint folder/file
nvm ls
nvm use v4.4.1
Merging others' branch
git pull origin [branch]
Abandon code
git checkout -- ./
in root directory
git checkout .
on the branch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever autopilot components are updated, run command
this will update app locally.