Added docker support + readme instructions
This commit is contained in:
21
README.md
21
README.md
@@ -19,7 +19,12 @@ steps:
|
||||
```
|
||||
|
||||
## Usage
|
||||
Python:
|
||||
```py
|
||||
# Copy and update settings
|
||||
cp .env.sample .env
|
||||
nano .env
|
||||
|
||||
# Install requirements
|
||||
pip install -r requirements.txt
|
||||
pip install -e .
|
||||
@@ -30,3 +35,19 @@ nano .qbit-ci.yaml
|
||||
# Start the app
|
||||
python qbit_ci
|
||||
```
|
||||
|
||||
Docker:
|
||||
```sh
|
||||
# Copy and update settings
|
||||
cp .env.sample .env
|
||||
nano .env
|
||||
|
||||
# Create a qbit-ci config file
|
||||
nano .qbit-ci.yaml
|
||||
|
||||
# Run qbit-ci
|
||||
docker run \
|
||||
--env-file .env \
|
||||
--mount type=bind,source=$(pwd)/.qbit-ci.yaml,target=/app/.qbit-ci.yaml \
|
||||
git.cesium.pw/niku/qbit-ci:latest
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user