Skip to content

2garryn/esli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLI is web-url shortener is written on Erlang

Dependencies

Riak key-store

Installation and using

  1. Get it from github:

    $ git clone https://github.com/2garryn/esli

  2. Go to esli directory and make it:

    $ make

  3. Before using esli start your Riak node.

  4. When Riak node is started you can start esli:

    $ rel/esli/bin/esli start

    $ rel/esli/bin/esli ping

    pong

  5. To stop url-shortener:

    $ rel/esli/bin/esli stop

By default esli server is listening 8081 port of http://localhost, i.e. to make short link you should open http://localhost:8081/ in your web-browser. On real server you can set other port and host in etc/app.config in esli directory. Anyway, look at this file :-). All data is written to sl bucket in Riak.

Also, you can look at esli/var/htdocs, there is html-pages, which user get.

License

Copyright (c) 2011 Artem Golovinsky [email protected].

All rights reserved.

Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the . The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

About

Web-links shortener on erlang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published