Skip to content

Hackershare is a powerful social bookmarking service and a knowledge-sharing community, with advanced search and tag management feature

License

Notifications You must be signed in to change notification settings

narita1980/hackershare

 
 

Repository files navigation

Hackershare

Social bookmarks website for hackers. Alternative to delicious, hackernews, pocket. Hackershare is the open source software which powers hackershare.dev

There is also a project introduction article for your reference: hackershare: Social bookmarking reinvented!

CI

Dependency

  • Postgresql 12
  • Rails 6
  • Stimulusjs
  • Turbolinks 5
  • rails-ujs
  • imagemagic
  • redis

Setup local

Setup by Docker

  1. Make a copy of the example environment file and modify as required [optional].
cp .docker.env .env
  1. Build the images.
docker-compose build
  1. After building the image or after destroying the stack you would have to reset the database using the following command.
docker-compose run --rm rails bundle exec rails db:create
docker-compose run --rm rails bundle exec rails db:migrate
docker-compose run --rm rails bundle exec rails db:seed_fu

or 

docker-compose run --rm rails bundle exec rails db:reset
docker-compose run --rm rails bundle exec rails db:seed_fu
  1. Run app
docker-compose up
  1. stop app
docker-compose down

Deployment

  • Nginx conf sync: bundle exec cap production puma:nginx_config
  • Deploy: bundle exec cap production deploy

chrome extension

refresh sitemap

  • bundle exec rake sitemap:refresh

About

Hackershare is a powerful social bookmarking service and a knowledge-sharing community, with advanced search and tag management feature

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 44.8%
  • Ruby 41.1%
  • PLpgSQL 8.5%
  • JavaScript 3.5%
  • Shell 1.3%
  • Dockerfile 0.5%
  • SCSS 0.3%