Skip to content
Web-links shortener on erlang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps/esli
deps
html
rel
Makefile
README.md
rebar
rebar.config
riak_search_schema.txt

README.md

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 artemgolovinsky@gmail.com.

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.

You can’t perform that action at this time.