Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.04 KB

README.md

File metadata and controls

21 lines (15 loc) · 1.04 KB

BigCentral

To start your Phoenix server:

  • Run the PostgreSQL server using nix shell nixpkgs#postgresql --command bash -c "initdb -D ./pg_data --no-locale --encoding=UTF8 ||true && pg_ctl -D ./pg_data -l logfile -o --unix_socket_directories=$HOME start"
  • Create a new user called postgres with the password postgres: createuser -d -W -h $HOME postgres
  • Create a new database called big_central_dev: createdb big_central_dev -h $HOME
  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

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

Learn more