This is the repo containing the bookmark.org code.
Follow these steps to run bookmark locally:
- Clone this repo
git clone https://github.com/bookmark-org/bookmark.git - Install
archivebox. By defaultarchiveboxinstalls using Docker, but this is not suitable for bookmark as we need them running side by side. One way to do this is to take this script and strip thedockeranddocker-composeparts. - Setup archivebox running
./setup-archivebox.sh - Make sure you have postgres running and
config/dev.exsis setup to talk to your db. - Install elixir dependencies with
mix deps.get. - Create and migrate your database with
mix ecto.setup. - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server. - For anonymous archives to work, you must register a new user with
anonymous@bookmark.orgas email, it can be done running the seed:mix run priv/repo/seeds.exs.
Now you can visit localhost:4000