4 Commits
0.9.0 ... 0.9.3

Author SHA1 Message Date
0a71a98482 postgres config update 2019-11-03 15:48:05 +03:00
69d35c95d9 fix migration 2019-11-03 14:14:48 +03:00
155790465e add notes about downloading jar 2019-11-02 15:29:48 +03:00
da00a60332 fix assembly build 2019-11-02 15:26:29 +03:00
6 changed files with 21 additions and 8 deletions

View File

@ -10,7 +10,7 @@ In general installation process looks like:
sbt assembly
```
Service can be run by using command:
Or alternatively you can download latest jar from releases page. Service can be run by using command:
```bash
java -cp ./target/scala-2.13/ffxivbis-scala-assembly-0.1.jar me.arcanis.ffxivbis.ffxivbis

View File

@ -3,3 +3,12 @@ name := "ffxivbis"
scalaVersion := "2.13.1"
scalacOptions ++= Seq("-deprecation", "-feature")
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case "application.conf" => MergeStrategy.concat
case "module-info.class" => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}

1
project/dependency.sbt Normal file
View File

@ -0,0 +1 @@
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")

View File

@ -1,6 +1,6 @@
create table players (
party_id text not null,
player_id bigserial,
player_id bigserial unique,
created bigint not null,
nick text not null,
job text not null,
@ -9,7 +9,7 @@ create table players (
create unique index players_nick_job_idx on players(party_id, nick, job);
create table loot (
loot_id bigserial,
loot_id bigserial unique,
player_id bigint not null,
created bigint not null,
piece text not null,
@ -29,7 +29,7 @@ create unique index bis_piece_player_id_idx on bis(player_id, piece);
create table users (
party_id text not null,
user_id bigserial,
user_id bigserial unique,
username text not null,
password text not null,
permission text not null);

View File

@ -27,8 +27,11 @@ me.arcanis.ffxivbis {
profile = "slick.jdbc.PostgresProfile$"
db {
url = "jdbc:postgresql://localhost/ffxivbis"
user = "user"
password = "password"
user = "ffxivbis"
password = "ffxivbis"
connectionPool = disabled
keepAliveConnection = yes
}
numThreads = 10
}
@ -48,7 +51,7 @@ me.arcanis.ffxivbis {
web {
# address to bind, string, required
host = "0.0.0.0"
host = "127.0.0.1"
# port to bind, int, required
port = 8000
}

View File

@ -1 +1 @@
version := "0.9.0"
version := "0.9.3"