This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from pdehaan/readmemd
Converting README from .rst to .md
- Loading branch information
Showing
4 changed files
with
56 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- 0.10 | ||
- 0.12 | ||
- "0.10" | ||
- "0.12" | ||
|
||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# loads-web | ||
|
||
[](https://travis-ci.org/loads/loads-web) | ||
|
||
Web dashboard for Loads, v2. | ||
<https://github.com/loads/loads-broker> | ||
|
||
* Monitors active loadtests | ||
* View historic loadtest runs | ||
* Define load profiles (container sets) | ||
* Control load test runs | ||
|
||
|
||
## Development | ||
|
||
Setting the app up: | ||
|
||
```sh | ||
$ npm install | ||
``` | ||
|
||
Watch and compile Stylus to CSS: | ||
|
||
```sh | ||
$ ./node_modules/.bin/stylus --watch --compress client/static/assets/stylus/app.styl --out client/static/assets/css/ | ||
``` | ||
|
||
Starting the server: | ||
```sh | ||
$ node server # or `npm start` | ||
``` | ||
|
||
|
||
## Deployment | ||
|
||
The dashboard is hosted by a Hapi server that proxies API requests to a | ||
separate broker instance. This allows the front-end to be developed | ||
independently of the broker, and provides a mechanism for serving mock data | ||
if the broker does not implement a particular call. | ||
|
||
You can use [awsbox](https://github.com/mozilla/awsbox) to deploy the Hapi | ||
server to AWS: | ||
|
||
```sh | ||
# Create the instance. | ||
> AWS_REGION=us-west-2 AWS_ID={id} AWS_SECRET={secret} \ | ||
[email protected] awsbox create -n loads-web | ||
|
||
# Deploy committed changes. | ||
> git push loads-web HEAD:master | ||
``` |
This file was deleted.
Oops, something went wrong.