-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic #9
Basic #9
Conversation
Message msg = gson.fromJson(message, Message.class); | ||
controller.addToChat(msg); | ||
//this is meant to be a logic to sort different types of messages, though for testing right now it only takes the user lists | ||
// if (message.contains("message")){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get rid of this commented out code yet?
@@ -3,29 +3,36 @@ version: "3" | |||
services: | |||
# client: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can get rid of client from here now
Gson builder = new GsonBuilder().setPrettyPrinting().create(); | ||
String jsonStr = builder.toJson(Response); | ||
conn.send(jsonStr); | ||
// Message Response = new Message(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we delete the sample code yet
Everything should now run dockerized, heavily recommend running this confirm it works on your machine.
run docker-compose
then launch the UI