https://github.com/22a/cs4032-lab3
Chattering TCP
https://github.com/22a/cs4032-lab3
Last synced: 21 days ago
JSON representation
Chattering TCP
- Host: GitHub
- URL: https://github.com/22a/cs4032-lab3
- Owner: 22a
- Created: 2016-11-19T16:22:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-20T03:23:48.000Z (over 9 years ago)
- Last Synced: 2025-01-12T13:52:35.921Z (over 1 year ago)
- Language: Elixir
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Skeleton
CS4032 Lab3: a tcp socket chat server implementing a specific protocol
##Â Prerequisites
Elixir v1.4-dev at least
they don't have that packaged yet so you'll need to build from source
to get this running on a fresh digital ocean droplet I merely:
installed erlang:
```bash
sudo apt-get install erlang
```
then cloned and ran the elixir make as outlined [here](http://elixir-lang.org/install.html):
```bash
git clone https://github.com/elixir-lang/elixir.git && cd elixir
```
```bash
make clean test
```
if all the tests pass you'll have a juicy bit of bleeding edge elixir at your fingertips, add the executables to your path:
```bash
export PATH="$PATH:/path/to/where/you/cloned/elixir/bin"
```
to get it working on macOS where I already had elixir + erlang installed, I merely:
removed the stable elixir:
```bash
brew uninstall elixir
```
and then did the clone/make/path steps above
## Installation
Start the server:
```bash
./start.sh 5000
```
Then talk to it.