new repo name

This commit is contained in:
James Gareth Smith 2018-07-09 13:01:44 +02:00
commit fcc6983569
4 changed files with 10 additions and 9 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`
`npm 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/nona-creative.github.io-ETHprize`

View File

@ -1,8 +1,8 @@
import React from 'react';
import Parser from 'html-react-parser';
import Slider from 'react-slick';
import Modal from '../../components/modal';
import WordCloud from '../../components/wordCloud';
import Modal from '../modal';
import WordCloud from '../wordCloud';
import Data from '../../data/resources/wordclouds';
import './style.scss';

View File

@ -4,7 +4,7 @@ const dev = process && process.env && process.env.NODE_ENV === 'development';
module.exports =
withSass({
assetPrefix: dev ? '' : '/ETHPrize',
assetPrefix: dev ? '' : '/nona-creative.github.io-ETHprize',
exportPathMap: function(defaultPathMap) {
return {
'/': { page: '/' }

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",