Skip to content

Commit 3f52d05

Browse files
committed
Use BrewDB
1 parent 40b625f commit 3f52d05

9 files changed

+10
-48
lines changed

.drone.yml

-16
This file was deleted.

.drone.yml.sig

-1
This file was deleted.

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "src/Hops/BrewDB"]
2+
path = src/Hops/BrewDB
3+
url = https://github.com/sboulema/BrewDB.git

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ Hops also has a few tools to make live easier for the homebrewer
1717
- Label Printer
1818

1919
# Running Hops
20-
Running Hops is easy and fast, just start the docker image and Hops will be served on port 5000
20+
Running Hops is easy and fast, just start the docker image and Hops will be served on port 5000
21+
22+
# BrewDB
23+
Ingredient database is used from [BrewDB](https://github.com/sboulema/BrewDB)

codefresh.yml

-28
This file was deleted.

src/Hops/BrewDB

Submodule BrewDB added at aa1f648

src/Hops/Hops.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<None Update="hops.sqlite">
17+
<None Update="BrewDB\brewDB.sqlite">
1818
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
1919
</None>
2020
</ItemGroup>

src/Hops/Models/HopContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected override void OnModelCreating(ModelBuilder builder)
3333

3434
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
3535
{
36-
optionsBuilder.UseSqlite($"Filename={Path.Combine(env.ContentRootPath, "hops.sqlite")}");
36+
optionsBuilder.UseSqlite($"Filename={Path.Combine(env.ContentRootPath, "BrewDB/brewDB.sqlite")}");
3737
}
3838
}
3939
}

src/Hops/hops.sqlite

-160 KB
Binary file not shown.

0 commit comments

Comments
 (0)