Git Product home page Git Product logo

euu-rocks / seed Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 3.0 44.05 MB

Seed – a web application engine thats supports schema and code modifications at runtime

License: GNU Affero General Public License v3.0

Dockerfile 0.01% Java 99.85% CSS 0.11% HTML 0.01% JavaScript 0.02%
webapp runtime-compilation runtime-config rapid-development rest-api admin-ui rapid-prototyping backend-api low-code spring-boot

seed's Introduction

Seed

License: AGPL v3 Build and Deploy Quality Gate Status Javadoc

How to run

Create PostgreSQL database and user

create database seed

create user seed with password 'seed'

Try with DOCKER

docker build -t euurocks/seed .

docker run --env "SPRING_DATASOURCE_URL=jdbc:postgresql://192.168.69.135:5432/seed" euurocks/seed

Note:

192.168.69.135 is your current IP of your running database service

Try with Springboot

mvn spring-boot:run -Dspring-boot.run.arguments=--spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/seed

Note:

127.0.0.1 is your current IP of your running database service

Try with Docker Compose

docker-compose up

Keep license headers up to date before commit

mvn license:check

mvn license:format

seed's People

Contributors

eddi888 avatar krose85 avatar seed-master avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

seed's Issues

Beim Anlegen einer Entität mit einem Feld-Name "ID" wird ein Fehler geworfen

Version: v0.9.18

Error-Message:
Reason: liquibase.exception.DatabaseException: FEHLER: Spalte ╗id½ mehrmals angegeben [Failed SQL: (0) CREATE TABLE public.ausgaben (id VARCHAR(255) NOT NULL, version INTEGER NOT NULL, createdon TIMESTAMP WITHOUT TIME ZONE, createdby VARCHAR(32), modifiedon TIMESTAMP WITHOUT TIME ZONE, modifiedby VARCHAR(32), id VARCHAR(255) NOT NULL, kategorie VARCHAR(255), datum date, betrag DOUBLE PRECISION, CONSTRAINT pk_sb PRIMARY KEY (id))]

Lösung:
Anlage von Felder mit folgenden Namen unterbinden:
id, version, createdon, createdby , modifiedon , modifiedby

README.md

Durch die README.md ist man nicht in der Lage seed zu starten.

  1. Es wurde vergessen mvn clean install in der readme anzugeben.
  2. Wenn man keine DB auf localhost mit seed schema hat startet die Anwendung nicht, username und pw würden sicher weitere Probleme erzeugen.
  3. dbc:postgresql://192.168.69.135:5432/seed" registry.digitalocean.com/euu/seed Caused by: java.net.SocketException: Network is unreachable (connect failed)
    Ich vermute dafür muss man im VPN sein.

Vorschlag:
In der Readme.md eine Anleitung geben, durch die man mit 3-5 Befehlen einen seed server auf localhost starten kann, dazu sollte das Dockerfile um eine postgreDB erweitert werden, ggf. eignet sich dann docker-compose besser zum Bauen des Docker images.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.