Giter Club home page Giter Club logo

scalive-demo's Introduction

Scalive-demo

Demo project for scalive for Scalive # 1

Presentation slide is Here

Usage

Clone project

  • git clone https://github.com/georgeOsdDev/scalive-demo

Compile and Run xitrum server

  • cd scalive-demo
  • sbt/sbt xitrum-package
  • ./target/xitrum/script/runner demo.Boot

Check process

  • open http://localhost:8000

Run scalive from another terminal.

  • cd path/to/scalive-demo/script/
  • ./scalive

Current JVM Processes will be listed like below.

	JVM processes:
	#pid	Display name
	15278
	25424	demo.Boot
	77008	com.android.ddms.Main
	25861	scalive.AgentLoader /Users/oshidatakeharu/Project/scala/xitrum/samples/scalive-demo/script:/Users/oshidatakeharu/Project/scala/xitrum/samples/scalive-demo/lib

Attach specified pid.

  • ./scalive $PID

Remote REPL will be started

	[Scalive] Attached to remote process at port 57668
	Welcome to Scala version 2.11.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_45).
	Type in expressions to have them evaluated.
	Type :help for more information.

	scala>

Do some stuff

	scala>import demo.model.Queue
	scala>Queue.enqueu(123456)

Reload browser

About Xitrum

See : http://xitrum-framework.github.io/

Licence

MIT

scalive-demo's People

Contributors

georgeosddev avatar

Watchers

Ngoc Dao avatar James Cloos avatar  avatar  avatar

scalive-demo's Issues

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.