Skip to content

Commit

Permalink
Merge pull request #248 from chaoss/hotfix
Browse files Browse the repository at this point in the history
Release v0.9.1
  • Loading branch information
sgoggins committed Mar 13, 2019
2 parents f8d555e + 722f4ab commit f88fb2b
Show file tree
Hide file tree
Showing 101 changed files with 17,435 additions and 823 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -78,4 +78,5 @@ augur/plugins/
*.config.*
*.cfg.*
!sample.config.json
!vagrant.config.json
frontend/public/*.map
23 changes: 14 additions & 9 deletions README.md
Expand Up @@ -17,13 +17,14 @@ Functionally, Augur is a prototyped implementation of the Linux Foundation's [CH
### Vagrant
**The quickest way to get started working on Augur is by using [Vagrant](https://www.vagrantup.com/)** to spin up a virtual machine (VM) that comes with Augur already installed. We'll do all the work of setting up and installing dependencies, leaving you free to jump right into contributing something awesome.

*Caveat: if you’re a super nerd who likes to have total control over your development environment, there’s a local installation link at the bottom of this page. For the rest of you, Vagrant is the way to go, especially if you've had trouble getting all the dependcies installed locally, are not comfortable installing them yourself, or are using an OS for which we don't currently support local installation. We currently only support local installation for macOS and most flavors of Linux.*
*Caveat: if you’re a super nerd who likes to have total control over your development environment, there’s a local installation link at the bottom of this page. For the rest of you, Vagrant is the way to go, especially if you've had trouble getting all the dependcies installed locally, are not comfortable installing them yourself, or are using an OS for which we don't currently support local installation. **We currently only support local installation for macOS and most flavors of Linux**.*

Windows installation instructions using Vagrant can be found [here](docs/python/source/windows-install.md).

#### Dependencies

- [Vagrant](https://www.vagrantup.com/)
- [Virtualbox](https://www.virtualbox.org/)
- Local installation of Augur
- [GitHub Access Token](https://github.com/settings/tokens) (no write access required)

To get started, you'll need a VM provider- we currently only support [Virtualbox](https://www.virtualbox.org/). You'll also need to install [Vagrant](https://www.vagrantup.com/downloads.html). To begin, clone the repository, enter the root directory, and run `make vagrant`.
Expand All @@ -43,13 +44,17 @@ After this process has completed, the VM should be up and running. You'll then b
# inside the vagrant VM
sudo su -
cd /vagrant/augur

# due to vagrant weirdness, we have to manually install the python packages
sudo $AUGUR_PIP install --upgrade .
```

Once you've reached this point, you're ready to start developing! To start the backend, run `augur`. After you run the this command for the first time, a default configuration file called `augur.config.json` will automatically be generated. Reference the sample configuration file (`sample.config.json`) on how to set up the server, development, and cache configurations, as well as the plugin connections.
Augur will automatically create a config file called ``augur.config.json``. Add your GitHub API key to this file under the section ``GitHub``. At this point, you're ready to start developing!
Run the backend with ``augur``, or the frontend and backend together with ``make dev``.

```bash
augur # to create an augur.config.json
# send SIGINT to the VM to stop augur so you can edit the config (usually this is CTRL+C)
# to start both the backend and the frontend
make dev
```

If you're interested in adding a new plugin, data source, or metric, check out the [backend development guide](http://augur.augurlabs.io/static/docs/dev-guide/3-backend.html). If new visualizations are more your speed, you'll want the [frontend development guide](http://augur.augurlabs.io/static/docs/dev-guide/4-frontend.html).
Expand All @@ -65,12 +70,12 @@ make vagrant
sudo su -
cd /vagrant/augur

# you might to install the Python dependencies again- vagrant can be weird
pip3 install -e .

augur # to create an augur.config.json
# due to vagrant weirdness, we have to manually install the python packages
sudo $AUGUR_PIP install --upgrade .

# add your GitHub personal access token to augur.config.json

make dev
# full steam ahead!
```

Expand Down
2 changes: 1 addition & 1 deletion augur/datasources/downloads/routes.py
Expand Up @@ -35,7 +35,7 @@ def create_routes(server):
@api {get} /:owner/:repo/timeseries/downloads Downloads
@apiName downloads
@apiGroup Experimental
@apiDescription This is an Augur-specific metric. We are currently working to define these more formally.
@apiDescription This is an Augur-specific metric. We are currently working to define these more formally. Source: <a href="https://developer.github.com/">GitHub API</a>
@apiParam {String} owner Username of the owner of the GitHub repository
@apiParam {String} repo Name of the GitHub repository
Expand Down

0 comments on commit f88fb2b

Please sign in to comment.