mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
31 lines
730 B
Markdown
31 lines
730 B
Markdown
|
# Kolide
|
||
|
|
||
|
## Building
|
||
|
|
||
|
To build the code, run the following from the root of the repository:
|
||
|
|
||
|
```
|
||
|
go build
|
||
|
```
|
||
|
|
||
|
## Development Environment
|
||
|
|
||
|
To set up the development environment via docker, run the following frmo the root of the repository:
|
||
|
|
||
|
```
|
||
|
docker-compose up
|
||
|
```
|
||
|
|
||
|
Obviouly this requires that you have docker installed. At this point in time, automatic configuration tools are not included with this project.
|
||
|
|
||
|
If you'd like to shut down the virtual infrastructure created by docker, run the following from the root of the repository:
|
||
|
|
||
|
```
|
||
|
docker-compose down
|
||
|
```
|
||
|
|
||
|
Once you `docker-compose up` and are running the databases, build the code and run the following command to create the database tables:
|
||
|
|
||
|
```
|
||
|
kolide prepare-db
|
||
|
```
|