https://github.com/benjaminboruff/destroyer
A React Web App Game
https://github.com/benjaminboruff/destroyer
Last synced: 9 months ago
JSON representation
A React Web App Game
- Host: GitHub
- URL: https://github.com/benjaminboruff/destroyer
- Owner: benjaminboruff
- License: mit
- Created: 2016-12-21T21:29:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-13T16:08:23.000Z (over 9 years ago)
- Last Synced: 2025-03-13T21:18:01.973Z (over 1 year ago)
- Language: JavaScript
- Size: 554 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## [Destroyer](http://destroyer.boruff.me)
### A React Web App Game
### Installation
> Install the latest version of [node lts](https://nodejs.org).
>
Install [yarn](https://yarnpkg.com/).
>
>Then clone this repo:
>
```
git clone git@github.com:benjaminboruff/destroyer.git
```
Then cd into the cloned repo and run yarn to install the dependencies.
```
cd destroyer/
yarn
```
### Usage
>To start the hot-reload development server (default port 3000)
```
yarn start
```
To run the jest/enzyme tests
```
yarn tests
```
To make a production build to deploy to your github account as a gh-pages project, you must first edit the package.json file and change the "homepage" property to your own; e.g. {"homepage": "http://your-gh-username.github.io/destroyer"}. If you just want a generic build created in the build/ directory, then remove the "homepages" property entirely. And, of course, you don't have to call it destroyer :smile:
```
yarn build
```
To deploy to your gh-pages configured repo
```
yarn deploy
```