Test project based on https://github.com/DevelopmentOnTheEdge/be5
Download and run mvn install
- https://github.com/DevelopmentOnTheEdge/xmltest
- https://github.com/DevelopmentOnTheEdge/beanexplorer
- https://github.com/DevelopmentOnTheEdge/be-sql
- https://github.com/DevelopmentOnTheEdge/be5
- config connection profile in file: src/connectionProfiles.local.yaml
- create file src/profile.local with name of connection, for example: "test_local"
- create database
mvn be5:create-db
или если нужно только обновить
mvn be5:sync
Фронтенд собирается в src/main/webapp/
//установить зависимости
npm install
//Режим разработки
npm start
//На своей машине быстрее собрать незжатый
npm run build
//На сервере собирается
npm run build-min
Можно также взять готовый фронтенд из https://github.com/DevelopmentOnTheEdge/be5-react/tree/master/dist/compressed
Просто запустите main метод
public class Be5TestAppMain
{
public static void main(String... args)
{
new EmbeddedJetty().run();
}
}
Или
mvn clean install jetty:run -Djetty.http.port=8200
Login: Administrator
Password: 12345
Если вы воспользовались вторым вариантом запуска тогда нужно настроить debug
Hot Swapping With Maven, Jetty and IntelliJ
1)In VM Parameters, enter:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4000
2)add Add New Configuration -> Remote
Для обновления yaml проекта без перезапуска настройте dev.yaml
Быстрое обновление dev.yaml