Skip to content

Commit

Permalink
Make app (#2)
Browse files Browse the repository at this point in the history
- add tables, info, and predictions
  • Loading branch information
vincerubinetti authored Aug 9, 2019
1 parent 3dd367c commit 4e97f2a
Show file tree
Hide file tree
Showing 28 changed files with 2,111 additions and 372 deletions.
64 changes: 64 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
version: 2

jobs:
test:
docker:
- image: node:8.15.1-stretch
working_directory: ~/hetmech-frontend
steps:
- checkout
- run:
name: Frontend tests
command: |
npm install
npm test
npm run build
- persist_to_workspace:
root: ~/hetmech-frontend
paths:
- .git
- build

deploy:
docker:
- image: node:8.15.1-stretch
working_directory: ~/hetmech-frontend
steps:
- attach_workspace:
at: ~/hetmech-frontend
- run:
name: Install and configure dependencies
command: |
npm install --global --silent [email protected]
- add_ssh_keys:
fingerprints:
- "d5:47:d4:c3:01:e8:51:b1:6e:9a:80:39:8b:ae:cc:77"
- run:
name: Deploy build to gh-pages branch
command: |
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
touch build/.nojekyll # Disable Jekyll processing on GitHub Pages
gh-pages --dist build \
--user "CircleCI Deploy Job <[email protected]>" \
--message \
"Deploy webpage on `date --utc --iso-8601`
Builds https://github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1
Pushed by $CIRCLE_BUILD_URL
[skip ci]"
workflows:
version: 2
build:
jobs:
- test:
filters:
branches:
ignore: gh-pages
- deploy:
requires:
- test
filters:
branches:
only: master
24 changes: 1 addition & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
node_modules
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![CircleCI](https://circleci.com/gh/hetio/repurpose-frontend.svg?style=svg)](https://circleci.com/gh/hetio/repurpose-frontend)

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts
Expand Down
Loading

0 comments on commit 4e97f2a

Please sign in to comment.