Merge pull request #7 from Nona-Creative/feat/setting-up-github-pages-repo

Setting up GitHub pages repo
This commit is contained in:
sharynt 2018-07-09 10:51:33 +02:00 committed by GitHub
commit c803f62844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -4,9 +4,10 @@ ETHPrize single page React website
## Setting up ## Setting up
- `git clone git@github.com:Nona-Creative/ETHPrize.git` - `git clone git@github.com:Nona-Creative/ETHPrize.git`
- `npm install` - `npm install`
- `npm run dev` runs the site at `localhost:3000`
- `yarn lint` runs the eslinter
`npm run dev` runs the site at `localhost:3000` ## Deploy to staging
- `npm run deploy` to deploy
`npm run deploy` to deploy to `https://nona-creative.github.io/ETHPrize` - This pushes the compiled code to a second repo at `https://github.com/Nona-Creative/nona-creative.github.io-ETHprize`
- View staging Github page at `https://nona-creative.github.io/ETHPrize`
`yarn lint` runs the eslinter

View File

@ -14,7 +14,7 @@
}, },
"config": { "config": {
"deployToGit": { "deployToGit": {
"repository": "git@github.com:Nona-Creative/ETHPrize.git", "repository": "git@github.com:Nona-Creative/nona-creative.github.io-ETHprize.git",
"branch": "master", "branch": "master",
"folder": "out", "folder": "out",
"script": "npm run prod-build", "script": "npm run prod-build",