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
- `git clone git@github.com:Nona-Creative/ETHPrize.git`
- `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`
`npm run deploy` to deploy to `https://nona-creative.github.io/ETHPrize`
`yarn lint` runs the eslinter
## Deploy to staging
- `npm run deploy` to deploy
- 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`

View File

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