A toy project for Elixir build
|
|
преди 4 години | |
|---|---|---|
| assets | преди 4 години | |
| config | преди 4 години | |
| lib | преди 4 години | |
| priv | преди 4 години | |
| test | преди 4 години | |
| .formatter.exs | преди 4 години | |
| .gitignore | преди 4 години | |
| README.md | преди 4 години | |
| mix.exs | преди 4 години | |
| mix.lock | преди 4 години |
This project is intended to be a (serious) playground for other Elixir projects of mine in the aspects of build, integration and deployment.
dev or prodIn dev as well as in prod modes, the role used in config/#{mode}.exs must
be created using e.g. the command line : sudo -u postgres createuser -P role_name
(add -d flag to allow database creation)
In dev as well as in prod modes, the role used in config/#{mode}.exs must
be created using e.g. the command line : sudo -u postgres createdb -O role_name db_name
The PostgreSQL role/database must be installed, if required.
To start the server in dev mode :
mix deps.getmix cmd npm install --prefix assetsmix phx.server or iex -S mix phx.server to run within a shellThe server can now be accessed on localhost:4000.