public
Fork of Pistos/selfmarks
Description: Anti-social bookmarking for the technically endowed.
Homepage:
Clone URL: git://github.com/manveru/selfmarks.git
name age message
file .gitignore Sat Feb 07 11:11:16 -0800 2009 Added custom footer code. (Actual footer not i... [Pistos]
file LICENCE Wed Feb 04 09:30:17 -0800 2009 Added MIT licence. [Pistos]
file README.markdown Tue Feb 10 08:52:54 -0800 2009 Added optional hoptoad support. [Pistos]
directory bin/ Loading commit data...
file config.rb.sample
directory controller/
directory graphics/ Thu Feb 05 17:24:33 -0800 2009 Polished /about page. [Pistos]
file import-csv.rb Thu Feb 05 17:27:08 -0800 2009 Changed official capitalization from SelfMarks ... [Pistos]
file import-delicious.rb Thu Feb 05 17:27:08 -0800 2009 Changed official capitalization from SelfMarks ... [Pistos]
directory model/
file models.rb Mon Feb 02 06:31:19 -0800 2009 Changed bookmarks_tags to users_bookmarks_tags,... [Pistos]
directory public/ Tue Feb 10 20:15:14 -0800 2009 Added some Opera-specific help on creating a cu... [Pistos]
directory sql/
file start.rb Tue Feb 10 08:52:54 -0800 2009 Added optional hoptoad support. [Pistos]
directory view/
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 json hpricot ruby-openid

Your choice of either:

  • PostgreSQL and dbd-pg gem (recommended)
  • SQLite3 and dbd-sqlite3 gem

Optional:

  • A domain or subdomain
  • Apache or nginx or the like (needed for serving from port 80)
  • memcached
  • gem install hoptoad-notifier-ramaze --source http://purepistos.net

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 # or sql/schema-sqlite.sql
  12. cat sql/views.sql | psql -U the_db_username the_db_name
  13. ruby start.rb
  14. (for port 80 servage) 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.