mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-07-06 10:25:53 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
0a71a98482 | |||
69d35c95d9 | |||
155790465e | |||
da00a60332 |
@ -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
|
||||
|
@ -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
1
project/dependency.sbt
Normal file
@ -0,0 +1 @@
|
||||
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")
|
@ -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);
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
version := "0.9.0"
|
||||
version := "0.9.3"
|
||||
|
Reference in New Issue
Block a user