Giter Site home page Giter Site logo

mnet's Introduction

MediNetServices

Quick start

First clone this project from github and navigate there from your command line/terminal.

If you have gradle already installed, just run gradle build then you will find a war file in your projects /build/libs/ folder. Deploy it in your favorite container e.g. tomcat.

If you don't have gradle installed, well, there is a awesome news for you! You don't need to download/install gradle to build this project! Here, gradle wrapper is used to make your life easier ;) All you have to do to run script, e.g. if you want to build this project, just execute following command from your terminal

  • ./gradlew build (from Unix)
  • gradlew.bat build (from Windows)

This script will automatically determine your gradle installation or download & install gradle if required & then execute the gradle task, e.g. build war file for above command. To see the list of tasks available, use ./gradlew tasks or gradlew.bat tasks

Quick development -> direct deploy app on embedded tomcat

Well, building project and deploying manually in app container sometimes become pain as these are repetitive work. To make your life easier, here embedded tomcat container has been integrated. Just type gradle tomcatRunWar in your command line and your project will build and run automatically on a tomcat container within a minute. You just have to go http://localhost:8080/ from your browser to see it running. Cool...right? ;)

Use of JRebel & App deployment in local Tomcat7

A Gradle task has been added to build war with JRebel support and deploy it to local tomcat container. It works only in Unix environment if you follow below instructions:

  1. Install tomcat7 at /usr/local/tomcat7 path.
  2. Install jrebel at /usr/local/JRebel path.
  3. Copy the script file from config/catalina-jrebel.sh in your /usr/local/tomcat7/bin directory
  4. Run gradle deployWar in your source code which will copy the war file to tomcat's webapps folder
  5. From /usr/local/tomcat7/bin, start tomcat server with command ./catalina-jrebel.sh run
  6. Browse application at http://localhost:8080/MediNetServices/

mnet's People

Contributors

mozammel avatar mushfek avatar oronno avatar rokon12 avatar ronygomes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mnet's Issues

Implement pagination for a list

Need to implement generic pagination for any kind of list.

Our technology stack-

  1. Twitter bootstrap
  2. Thymleaf
  3. Spring โ€“ framework
  4. JPA 2

We would like to get the list of pages in following form:

<Prev | 1 | ... | 3 | 4 | 5 | 6 | 7 | ... | 15 | Next>

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.