Code Monkey home page Code Monkey logo

Chirag M S's Projects

vertx-server icon vertx-server

Setting up project on local machine. Checkout project from github Refresh Gradle project - uses gradle Start mysql instance and load dbschema.sql into it Start main class ServerVerticle with program arguments "apiserver/config/base.json,apiserver/config/dev.services.json,apiserver/config/resturls.json" The local server should start at http://localhost/7000 All configuration is stored in json files under resources/apiserver/config folder Couple of API calls to test 1. http://localhost:7000/api/[email protected] 2. http://localhost:7000/api/menu To deploy on server Run shadowJar target from Gradle, this creates plianced-server-1.0-all.jar in build/libs folder, it has all dependencies in it Copy this jar to the target machine /mnt/software/plianced folder, backup the existing jar file into bkp folder with a different name. Kill the running java server and execute api_start.sh to start server. If having trouble running the above script, use this command from inside /mnt/software/plianced folder sudo java -Xloggc:/mnt/logs/gcapi.log -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xms64m -Xmx512m -server -jar plianced-server-1.0-all.jar apiserver/config/dev.json,apiserver/config/dev.services.json,apiserver/config/resturls.json The above command will start the server and logs are created in /mnt/logs folder. Flag notifications Flag notifications

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.