Move configuration step before installation

The pip install -e . step needs the configuration to succeed.

Change-Id: I6c105883fd7b4e84a7151d24e8fd96b6ec2e42f0
This commit is contained in:
Ramy Asselin 2015-09-21 14:39:14 -07:00
parent 22c5f17d19
commit 9f52b89b49
1 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,21 @@
# CI Watch # CI Watch
## Configuration
Configuration is stored in the `ci-watch.conf` file. Importantly, you can
specify a directory to store the `third-party-ci.log` file (data\_dir) as well
as the database to connect to. Look at `ci-watch.conf.sample` for an example.
Other settings should be self explanatory based on the provided configuration
file.
## Installation ## Installation
From this folder, run the following commands. From this folder, run the following commands.
``` ```
pip install -r requirements.txt pip install -r requirements.txt
# Note that this step requires the `ci-watch.conf` file.
pip install -e . pip install -e .
``` ```
@ -24,16 +34,6 @@ Stream events from Gerrit and append valid events to `third-party-ci.log`.
`ci-watch-populate-database`. `ci-watch-populate-database`.
Add all entries from `third-party-ci.log` to the database. Add all entries from `third-party-ci.log` to the database.
## Configuration
Configuration is stored in the `ci-watch.conf` file. Importantly, you can
specify a directory to store the `third-party-ci.log` file (data\_dir) as well
as the database to connect to. Look at `ci-watch.conf.sample` for an example.
Other settings should be self explanatory based on the provided configuration
file.
## State of the project ## State of the project
This project is a work in progress and the code is pretty rough in some places. This project is a work in progress and the code is pretty rough in some places.