Move configuration step before installation
The pip install -e . step needs the configuration to succeed. Original Change-Id: I6c105883fd7b4e84a7151d24e8fd96b6ec2e42f0 Change-Id: Idd5b3cb14447d42162b292b7333d4782fea38949
This commit is contained in:
parent
31782d7949
commit
2d0157d525
20
README.md
20
README.md
@ -1,11 +1,21 @@
|
||||
# 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
|
||||
|
||||
From this folder, run the following commands.
|
||||
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
# Note that this step requires the `ci-watch.conf` file.
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
@ -24,16 +34,6 @@ Stream events from Gerrit and append valid events to `third-party-ci.log`.
|
||||
`ci-watch-populate-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
|
||||
|
||||
This project is a work in progress and the code is pretty rough in some places.
|
||||
|
Loading…
x
Reference in New Issue
Block a user