chorylee / hackershare

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

Home Page:https://hackershare.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Dependencies

Setup local

Setup by Docker

  1. Make a copy of the example environment file and modify as required [optional].
cp .env .env.local
  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

https://hackershare.dev

License:MIT License


Languages

Language:HTML 46.1%Language:Ruby 39.5%Language:PLpgSQL 8.8%Language:JavaScript 3.5%Language:Shell 1.2%Language:Dockerfile 0.6%Language:SCSS 0.4%