Online m,n,k game, but for m == n <= 20
Inspired by https://github.com/fly-apps/tictac
source .env.dev
mix setup
mix phx.server
oriex -S mix phx.server
- Update Tailwind version in config/config.exs
mix tailwind.install
See config/dev.exs
for username, password, dbname. It should just work but see below in case.
Set postgres user password in case it changed
sudo -u postgres psql
\password postgres
If you want to setup a different user
sudo -u postgres createuser <username>
sudo -u postgres createdb <dbname>
sudo -u postgres psql
alter user <username> with encrypted password '<password>';
grant all privileges on database <dbname> to <username> ;