aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md (renamed from readme.txt)17
1 files changed, 14 insertions, 3 deletions
diff --git a/readme.txt b/README.md
index 512de38f..21ceb6a6 100644
--- a/readme.txt
+++ b/README.md
@@ -1,3 +1,7 @@
+Juick
+---
+
+```
git clone git@x.juick.com:/srv/git/juick.git
cd juick
@@ -15,25 +19,32 @@ mysql -u user -p
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`
-Прописать в 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?hash=fuckthisverymuch
+Логин: http://localhost:8080/login?hash=fuckthisverymuch
-чтобы работал юникод, в ~/.my.cnf добавить:
+чтобы работал юникод, в `~/.my.cnf` добавить:
+```
[client]
default-character-set=utf8mb4
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
+``` \ No newline at end of file