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
|
## 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
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue