# regard-website

Website for regard

![build status](https://api.travis-ci.org/with-regard/regard-website.svg)

## Requirements

1. Install [Node.js](http://nodejs.org)
2. Install [gulp](http://gulpjs.com/)
```
npm install -g gulp
```

3. Install dependencies
```
npm install
```
4. Run gulp to start the development server
```
gulp
```
5. Configure local dev values

Copy sample-config.json to development-config.json. You can find the values for the Github application [here](https://github.com/organizations/with-regard/settings/applications/).

## Organization

Everything is in one repository for the moment (to make authentication simpler).

The project page at [withregard.io](http://withregard.io) lives in the `website` folder.
The developer portal lives in the `portal` folder.
The api for the developer portal lives in the `api` folder. 

Each of these exports an express app which is loaded by `server.js` in the root. 

## Deployment

Anything that gets pushed to master will be deployed. Azure runs `gulp build` which outputs to the *dist* directory. Make sure that the gulp build task exits and doesn't watch any files or start any servers.

# regard-website

Website for regard

![build status](https://api.travis-ci.org/with-regard/regard-website.svg)

## Requirements

1. Install [Node.js](http://nodejs.org)
2. Install [ember cli](http://iamstef.net/ember-cli/)
```
npm install -g ember-cli
```

3. Install dependencies
```
npm install
bower install
```
4. Run gulp to start the development server
```
ember serve
```
5. Configure local dev values

Copy sample-config.json to development-config.json. You can find the values for the Github application [here](https://github.com/organizations/with-regard/settings/applications/).

## Organization

Everything is in one repository for the moment (to make authentication simpler).

The marketing page at [withregard.io](http://withregard.io) lives in the `website` folder.
The ember app lives in the app folder.
Assets live in the public folder.

## Deployment

Anything that gets pushed to master will be built by travis and deployed to Azure websites.

Update readme with info about ember cli
Update readme with info about ember cli