Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Anti-social bookmarking for the technically endowed.
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
controller
graphics
model
public
sql
view
.gitignore
LICENCE
README.markdown
config.rb.sample
import-csv.rb
import-delicious.rb
models.rb
start.rb

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.
Something went wrong with that request. Please try again.