Skip to content

A chatroom implementation using Kotlin/Redis, deployed to Cloud Foundry

License

Notifications You must be signed in to change notification settings

alexandreroman/chatfoundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Chatfoundry!

Chatfoundry is a chatroom implementation using Kotlin/Redis, deployed to Cloud Foundry. The purpose of this app is to play with Cloud Foundry, and learn how to use it.

Prerequisites

Tests are made using Pivotal Web Services (PWS), but you can also deploy this web on your own instance. You may use PCF Dev to deploy this app on your workstation.

You need a Java 8 SDK to build this app.

Build instructions

This project is using Maven 3.5+:

$ ./mvnw clean package

How to run this app

To deploy this app to PWS, use these commands:

$ cf login -a http://api.run.pivotal.io
$ cf create-service redis 30mb rediscloud
$ cf push
$ cf bind-service chatfoundry redis

If you are using a Cloud Foundry instance other than PWS, make sure you bind a Redis service to this app.

If you're running this app locally, you need a running Redis instance. You can use the official Redis Docker image:

$ docker run --name redis --rm -p "6379:6379/tcp" redis:5

Enjoy!

The app should be available at https://chatfoundry-RANDOM.cfapps.io. Check command output or Apps Manager to get the real endpoint.

About

A chatroom implementation using Kotlin/Redis, deployed to Cloud Foundry

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published