/okrly

Personal Goals, Simplified.

Primary LanguageElixir

Okrly

Personal Goals, Simplified.

Installation

  • Install asdf:

  • Install asdf plugins:

    • asdf plugin add erlang
    • asdf plugin add elixir
    • asdf plugin add postgres
    • asdf plugin add nodejs
  • Run asdf install:

    asdf install
  • Create a config/dev.secret.exs file and configure your database credentials:

    # config/dev.secret.exs
    
    import Config
    
    config :okrly, Okrly.Repo,
      username: "your_username",
      password: "your_password",
      database: "your_dev_database",
      hostname: "localhost"
  • Install dependencies:

    mix deps.get
  • Create and migrate the database:

    mix ecto.create
    mix ecto.migrate
  • Start the Phoenix server:

    mix phx.server