Setup
Installation
Setup
Create Boilerplate
Flags:
--no-ecto
to not have database stuff
Create secrets in
.env
and db secrets.env - need to move db config to
.config.ex
Follow steps it prompts you with, then start with:
Phoenix uses webpack or esbuild for asset management and needs npm*
Main work will be in lib
DB
Local: idk. By Postgres default, the username is the default machine name like jfuentes(whoami
in bash) and no password ""
AWS: Before running mix ecto.create
go into config/dev.ex
and change the db connection settings to the AWS one. Creates a database of that name if it doesn't exist
Last updated