Pistos / selfmarks

Anti-social bookmarking for the technically endowed.

This URL has Read+Write access

README.markdown

Selfmarks Installation

So you think you're geek enough to install and run Selfmarks? Good. Here's what you'll need:

  • A server
  • Ruby
  • Gems: ramaze m4dbi dbd-pg json hpricot
  • Apache or nginx or the like
  • A domain or subdomain
  • PostgreSQL
  • memcached (optional)

Steps

  1. Point your domain to your server (DNS, yadda yadda).
  2. Get Ruby (and RubyGems) onto your server.
  3. gem install ramaze m4dbi dbd-pg json hpricot ruby-openid
  4. Install and setup PostgreSQL.
  5. Install and setup Apache/nginx/whatever.
  6. git clone git://github.com/Pistos/selfmarks.git && cd selfmarks
  7. cp config.rb.sample config.rb
  8. ${EDITOR} config.rb
  9. createuser the_db_username
  10. createdb the_db_name -O the_db_username
  11. cat sql/schema.sql | psql -U the_db_username the_db_name
  12. cat sql/views.sql | psql -U the_db_username the_db_name
  13. ruby start.rb
  14. Configure Apache/nginx to proxy your domain to the Ramaze app (http://wiki.ramaze.net/Deployment).
  15. Browse to http://yourdomain.com
  16. Login with OpenID, or INSERT INTO users ( username, encrypted_password ) VALUES ( 'some_username', 'some_SHA1ed_password' );
  17. Go to your old social bookmarking site; export bookmarks in Delicious-compatible format.
  18. Import into Selfmarks.
  19. Enjoy Selfmarks thoroughly.
  20. Permit your most trusted acquaintances to also use your Selfmarks installation. Or not.