2025-05-05 21:32:09 +03:00
2025-05-05 21:30:27 +03:00
2025-03-08 22:15:55 +02:00
2025-04-27 13:57:10 +03:00
2025-03-06 21:37:45 +02:00
2025-03-04 21:49:03 +02:00
2025-04-30 13:03:06 +03:00
2025-04-30 13:03:06 +03:00

DecentralisedBookIndex

DecentralisedBookIndex is a web-server to manage the book metadata in the decentralise manner.

Getting started

  • clone this repository
  • copy .env.example file and save as .env
  • copy .env_db.example file and save as .env_db
  • change the values in .env and .env_db you can use mix phx.gen.secret to generate secrets update the PHX_HOST to your domain name
  • run docker compose up -d
  • run migrations docker exec -it dbi bin/migrate
  • open the url (PHX_HOST) in a browser register a user
  • run the commands to promote an user to the admin. change admin@example.com to your email.
    docker exec -it dbi bin/decentralised_book_index remote
    DecentralisedBookIndex.Accounts.User.get_by_email!("admin@example.com", authorize?: false) \
    |>  DecentralisedBookIndex.Accounts.User.set_role(:admin, authorize?: false)
    
    close the terminal with Ctrl + c and a.

Author

Kostiantyn Klochko (c) 2023-2025

S
Description
No description provided
Readme
1.6 MiB
Languages
Elixir 96.9%
HTML 1.2%
JavaScript 1.2%
Dockerfile 0.6%