aboutsummaryrefslogtreecommitdiff
path: root/readme.txt
blob: 3948950338a535f78fc2e84fe69b7f6dcd069aa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
git clone git@x.juick.com:/srv/git/juick.git

cd juick

git submodule update --init

mysql -u user -p
	create database juick;
	exit

mysql -u user -p < juick-server/src/main/resources/schema.sql

mysql -u user -p
	use juick;
	insert into users (id, nick, passw) values (1, 'ugnich', 'fuckthis');
	insert into logins (user_id, hash) values (1, 'fuckthisverymuch');
	exit

Прописать в juick-www/src/main/resources/juick.conf
	datasource_url=jdbc:mysql://localhost/juick
	datasource_user=juick
	datasource_password=juick

Для сборки front-end необходим установленный npm (runtime node js) не ниже 3-й версии и jdk8

./gradlew :juick-www:compileFrontend

./gradlew :juick-www:appRun

http://localhost:8080/login?fuckthisverymuch


чтобы работал юникод, в ~/.my.cnf добавить:

[client]
default-character-set=utf8mb4
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4