Merge pull request #7 from Nona-Creative/feat/setting-up-github-pages-repo
Setting up GitHub pages repo
This commit is contained in:
commit
c803f62844
11
README.md
11
README.md
|
@ -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`
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue