Giter Site home page Giter Site logo

akka-irc's Introduction

======= akka-irc

A simple IRC-like client and server implementation in Scala and Akka. Thanks to the guys from LSUG for contributions to making it more Scala-esque.

How to run

This program requires an installation of the Simple Build Tool SBT, which requires that you have at least java 1.6. The build.sbt file has all the requirement definitions and resolvers

Steps

  • Clone the akka-irc repository if you have not done so yet

  • Open your terminal and change to the actor-chat directory

  • Run

    sbt run

  • SBT will download all the required dependencies and provide you with 2 options

    Multiple main classes detected, select one to run: [1] kaning.actors.ChatClientApplication [2] kaning.actors.ChatServerApplication Enter number:

  • Please note that this will not be in the same order

  • First run the server so in the example above type in 2 and hit return, if in your case the server is the first option type 1

  • Open another terminal, change your working directory to actor-chat again and run

    sbt run

  • This time choose the client application and identify yourself

  • In order to join the server type in /join and hit return

Everything else you type into the client console will be displayed in the server console and to any other clients connected to that server

Heroku

The server part of this application can be deployed to Heroku. You will need a Heroku account and the and the toolbelt installed. Follow these instructions on how to deploy the application. Other useful commands include:

heroku logs -t - Tails the log
git push heroku akka-actors:master - Pushes the latest version to heroku

Added persistence at Scala Hack 12th April

akka-irc's People

Contributors

kaning avatar astrac avatar

Stargazers

Alexander Pishchulev avatar Mikal avatar Phil Andrew avatar Duan Wenbo avatar Rajan P. avatar ScalaWilliam avatar

Watchers

 avatar Ross Huggett avatar Ryan LeCompte avatar James Cloos 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.