12ec98d15e3f9794d039af96cb7dc5ce6b559d3b
- Refactor `config/dev.exs` to use `config/dev.secret.exs` instead of fetching the SMTP information from the environment and using hardcoded database credentials. This is useful when different developers have different database credentials and they use different SMTP adapters - Add a sample `dev.secret.exs` in `config/dev.secret.sample.exs`. Also gitignore the origin `dev.secret.exs` file - Add instructions on how to setup the config file for development in `README.md` - Add `Plug.Swoosh.MailboxPreview` plug on "/mailbox" route in development mode for easier development with e-mails Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Ketbin
To start your Phoenix server:
- Copy
config/dev.secret.sample.exstoconfig/dev.secret.exs - Fill in the SMTP and database configuration in
config/dev.secret.exs - Install dependencies with
mix deps.get - Create and migrate your database with
mix ecto.setup - Install Node.js dependencies with
npm installinside theassetsdirectory - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.
Learn more
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix
Description
Small, lightweight pastebin+URL shortener written in Elixir using the Phoenix framework.
apicowboyelixiresbuildhacktoberfestnifno-javascriptpastebinphoenixpostgresqlrest-apirustshortenersyntax-highlighting
Readme
967 KiB
0 Stars
1 Watchers
0 Forks
Languages
Elixir
80.5%
HTML
10.6%
CSS
4.8%
JavaScript
2.5%
Dockerfile
0.6%
Other
0.9%