Coder Social home page Coder Social logo

sparepartcatalogueapp's Introduction

Example abas Essentials App

This is the source code of the sparePartsCatalogueApp and example abas Essentials App build on the abas Essentials SDK.

General setup

Add a gradle.properties file to your $GRADLE_USER_HOME.

#If you use a proxy add it here
systemProp.http.proxyHost=<your_proxy>
systemProp.http.proxyPort=<your_proxy_port>
systemProp.https.proxyHost=<your_proxy>
systemProp.https.proxyPort=<your_proxy_port>

esdkSnapshotURL=https://registry.abas.sh/repository/abas.esdk.snapshots/
esdkReleaseURL=https://registry.abas.sh/repository/abas.esdk.releases/
nexusUser=<extranet username>
nexusPassword=<extranet password>

To create the common development setup for eclipse run

./gradlew eclipse

Installation

To install the project make sure you are running the docker-compose.yml file or else change the gradle.properties file accordingly to use another erp client (you will still need a nexus server, but it can of course also be installed in your erp installation or elsewhere as long as it is configured in the gradle.properties file).

To use the project's docker-compose.yml file, in the project's root directory run:

docker login intra.registry.abas.sh -u <extranet user> -p <extranet password>
docker-compose up

Once it's up, initialize the gradle.properties with the appropriate values by running:

./initGradleProperties.sh

Now, you need to load all the $HOMEDIR/java/lib dependencies into the Nexus Server. This is only necessary once as long as the essentials_nexus container is not reinitialized. Run the following gradle command to upload the dependencies to the Nexus Server:

./gradlew publishHomeDirJars

Now you can install the project as follows:

./gradlew fullInstall

Development

If you want to make changes to the project before installing you still need to run the docker-compose.yml file or at least have a Nexus Server set up to work with.

Then run

./gradlew publishHomeDirJars

You also need to run

./gradlew publishClientDirJars
./gradlew eclipse

to upload the $MANDANTDIR/java/lib dependencies to the Nexus Server and set eclipse up to work with the uploaded dependencies.

After that the code should compile both with gradle and in eclipse and you are set up to work on the code or resource files as you want.

sparepartcatalogueapp's People

Contributors

tschasmine avatar rhaendel avatar thogen avatar kylex87 avatar

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.