Skip to content

Repository files navigation

Test Be5 application

Build Status

Test project based on https://github.com/DevelopmentOnTheEdge/be5

Quick start

Backend

Download and run mvn install

Database

  • 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

Frontend

Фронтенд собирается в src/main/webapp/

//установить зависимости
npm install
//Режим разработки
npm start
//На своей машине быстрее собрать незжатый 
npm run build
//На сервере собирается
npm run build-min

Можно также взять готовый фронтенд из https://github.com/DevelopmentOnTheEdge/be5-react/tree/master/dist/compressed

Run Test Be5 application!

Просто запустите main метод

public class Be5TestAppMain
{
    public static void main(String... args)
    {
        new EmbeddedJetty().run();
    }
}

Или

mvn clean install jetty:run -Djetty.http.port=8200

Authentication

Login: Administrator
Password: 12345

Если вы воспользовались вторым вариантом запуска тогда нужно настроить debug

Debug, Hot Swapping With Maven, Jetty and IntelliJ

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 

Dev

Для обновления yaml проекта без перезапуска настройте dev.yaml
Быстрое обновление dev.yaml

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages