|
1 |
| -dashboard |
2 |
| -============== |
| 1 | +DASHBOARD |
| 2 | +========= |
| 3 | +ОПИСАНИЕ |
| 4 | +-------- |
| 5 | +Webapp для Tomcat 8. |
3 | 6 |
|
4 |
| -Template for a simple Vaadin application that only requires a Servlet 3.0 container to run. |
| 7 | +Показывает информацию о |
| 8 | +- текущей погоде в 3-ч городах |
| 9 | +(Новосибирск, Москва, Санкт-Петербург) |
| 10 | +на сегодня и на завтра |
| 11 | +- Курс доллара и евро и его изменение |
| 12 | +- Число уникальных посетителей и общее загрузок страницы |
5 | 13 |
|
| 14 | +СКРИНШОТ |
| 15 | +-------- |
6 | 16 |
|
7 |
| -Workflow |
8 |
| -======== |
| 17 | + |
9 | 18 |
|
10 |
| -To compile the entire project, run "mvn install". |
11 |
| -To run the application, run "mvn jetty:run" and open http://localhost:8080/ . |
| 19 | +ПОДРОБНОСТИ |
| 20 | +----------- |
12 | 21 |
|
13 |
| -To develop the theme, simply update the relevant theme files and reload the application. |
14 |
| -Pre-compiling a theme eliminates automatic theme updates at runtime - see below for more information. |
| 22 | +Используется фреймворк Vaadin, реализующий клиент-серверное взаимодействие |
| 23 | +и формирование веб-интерфейса |
15 | 24 |
|
16 |
| -Debugging client side code |
17 |
| - - run "mvn vaadin:run-codeserver" on a separate console while the application is running |
18 |
| - - activate Super Dev Mode in the debug window of the application |
| 25 | +Для хранения IP адресов посетителей используется NoSQL БД MongoDB |
19 | 26 |
|
20 |
| -To produce a deployable production mode WAR: |
21 |
| -- change productionMode to true in the servlet class configuration (nested in the UI class) |
22 |
| -- run "mvn clean vaadin:compile-theme package" |
23 |
| - - See below for more information. Running "mvn clean" removes the pre-compiled theme. |
24 |
| -- test with "mvn jetty:run-war |
| 27 | +Информеры: |
| 28 | +- forecast.io (погода) |
| 29 | +- [Центробанк России] (cbr.ru) (валюта) |
25 | 30 |
|
26 |
| -Using a precompiled theme |
27 |
| -------------------------- |
| 31 | +Путь : `http://localhost:8080/dashboard/` |
28 | 32 |
|
29 |
| -When developing the application, Vaadin can compile the theme on the fly when needed, |
30 |
| -or the theme can be precompiled to speed up page loads. |
31 |
| - |
32 |
| -To precompile the theme run "mvn vaadin:compile-theme". Note, though, that once |
33 |
| -the theme has been precompiled, any theme changes will not be visible until the |
34 |
| -next theme compilation or running the "mvn clean" target. |
35 |
| - |
36 |
| -When developing the theme, running the application in the "run" mode (rather than |
37 |
| -in "debug") in the IDE can speed up consecutive on-the-fly theme compilations |
38 |
| -significantly. |
| 33 | +Порт MongoDB по-умолчанию. |
0 commit comments