An open API service indexing awesome lists of open source software.

https://github.com/hackoregon/teamhomelessness-frontend

2016-2017 Homelessness Project Team - frontend code-staging site
https://github.com/hackoregon/teamhomelessness-frontend

Last synced: 11 months ago
JSON representation

2016-2017 Homelessness Project Team - frontend code-staging site

Awesome Lists containing this project

README

          

## Hack OR Team Homeless Front-End

This is a copy of the starter kit for Hack Oregon front-end development using React + Redux.

S3 staging
http://hacko-homelessness-staging.s3-website-us-west-2.amazonaws.com/

[![Build Status](https://travis-ci.org/hackoregon/teamHomelessness-frontend.svg?branch=master)](https://travis-ci.org/hackoregon/teamHomelessness-frontend)

### Update - This repo is now a package in the civic monorepo
#### Do not make updates in this repo - for updates and changes, use (https://github.com/hackoregon/civic.git)
___

#### Guide
1. Get [Node 6.5 +](https://nodejs.org) - I recommend using [Node Version Manager](https://github.com/creationix/nvm#install-script):
2. `git clone https://github.com/hackoregon/teamHomelessness-frontend.git`.
3. `nvm install 6.9.5` and `nvm use` (sets your node version)
3. install [yarn](https://yarnpkg.com/en/docs/install) (using yarn instead of npm for installing dependencies will help keep versions in sync more easily), and run `yarn` from inside the repo to install dependencies.
4. `npm start` - start dev mode (watching tests + linter)
5. `npm test` - run tests
6. `npm run coverage` - run tests w/ coverage

#### Using the [Component Library](https://github.com/hackoregon/component-library) in your project
The component libary has been installed as a dependency from the npm build version 0.0.6 (https://www.npmjs.com/package/@hackoregon/component-library)

To use a component in your project, import the component from its source in the lib folder

Example: importing the Header compoenent from the component library

`import Header from '@hackoregon/component-library/lib/Navigation/Header';`