ifightcrime / chatosaur Goto Github PK
View Code? Open in Web Editor NEWdistributed system chat client
distributed system chat client
I'm creating issues on here for things that need to be done. I'll be gone until thursday, but will have the entire evening to work on things and finish the project. If you guys can work on it at some point and get one or two of the issues taken care of that would be awesome. --Getting a single server/client running 1. clone the repo, duhhh 2. navigate one directory outside the repo (so if you have your repo in ~/chatosaur, you want to be in ~/) 3. run java chatosaur.server.Server to get the server started 4. do option one to get the server running on a port 5. navigate to that directory in another window and run java chatosaur.client.Client 6. use host=localhost and port=[the port you specified above] 7. you should now be chatting! 8. the server creates a log file "server_[port].log" you can tail to see what's going on --Adding another server: 1. open a new window and run chatosaur.server.Server like before 2. hit option 1 and start the server on a different port 3. once the server is running hit option 2 on the OTHER server and enter in 'localhost' and the port of the new server to add it 4. if all goes well you should see the updated list propagate in the log to the new server. --Compiling I have just been using a text editor to work on this thing, but feel free to create a new branch and make a netbeans/eclipse project or w/e. To compile the server run: javac chatosaur/server/*.java To compile the client run: javac chatosaur/client/*.java (remember to be one directory up from the repo again)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.