Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



37 Commits

Repository files navigation


DbProject - is small CMS which will deliver content to apps made by AKAI.

  • Content (currently informations about events organized by AKAI) is shared by JSON API.
  • Access to admin panel is provided via email in AKAI's domain.
  • Each AKAI member has roles which define what he/she can do.

Current endpoints for API:[?page=n&page_size=m]


  • Install Erlang and then Elixir.
  • Install Phoenix mix archive.install
  • Install MySQL.
  • Clone repository.
  • Create file dev.secret.exs in config/ directory.
  • Fill that file with this template:
use Mix.Config

# Configure your database
config :db_project, DbProject.Repo,
  adapter: Ecto.Adapters.MySQL,
  username: "root",
  password: "password",
  database: "db_project_dev",
  hostname: "localhost",
  pool_size: 10
  • Create database with name given in config file.
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Now you can start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more