Coder Social home page Coder Social logo

shogun2-client's Introduction

shogun2-client

Build Status

shogun2-client is an open project which provides a client web application for SHOGun2 based on the BasiGX package. By default, shogun2-client is used when a SHOGun2 webapplication is created with the shogun2-webapp-archetype.

Requirements

shogun2-client basically requires the same libraries / tools as SHOGun2 and BasiGX , especially:

Installation

  1. Update/checkout SHOGun2 and run mvn clean install in SHOGun2 project directory (the src folder)
  • Please note: If SHOGun2 is updated you also have to reinitialize it with mvn clean install
  1. Generate your own fork of shogun2-client

  2. Generate a web application based on shogun2-webapp-archetype, e.g. with

  1. After creation of the web application, set the URL of your shogun2-client fork (username: {github_username}) in pom.xml:

    <developerConnectionUrl>scm:git:git://github.com/{github_username}/shogun2-client.git</developerConnectionUrl>

  2. Go to our in project directory {projectDir} and run

$ mvn scm:checkout

  1. Go to {projectDir}/src/main/webapp/client and run:

$ git remote add upstream https://github.com/terrestris/shogun2-client.git

  1. In the same folder run

$ sencha package repo add BasiGX http://terrestris.github.io/BasiGX/cmd/pkgs

$ sencha app upgrade {/path/to/extjs}

$ sencha app refresh

  1. Run tomcat with your SHOGun2-webapplication (or use sencha app watch)

  2. Open

http://localhost:8080/{webapp-name}/client/index.html?id={applicationId}

Note: To get a valid {applicationId} just follow these steps:

* Adapt and open this URL:

  `http://localhost:8080/{webapp-name}/application/findAll.action`

* The response will list all of your current SHOGun2 applications (and normally it should return the default one named _Default Application_ only)

* Find the entry `id` containing the ID of the application (e.g. `"id": 50`)

* Use this ID as GET parameter (see above)

Feedback

Feedback is more than welcome. Please open an issue or contact us directly via [email protected]

License

GPL v3

shogun2-client's People

Contributors

ahennr avatar buehner avatar chrismayer avatar dnlkoch avatar marcjansen avatar weskamm avatar

Watchers

 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.