Skip to content

maxdevjs/dev-nix-shells-phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-shell for Phoenix

WIP

What is it?

A nix-shell template to set a Phoenix development environment up with direnv integration (if installed).

Built gathering inspiration from several sources, it makes available:

Working with a local PostgreSQL instance

initdb --no-locale --encoding=UTF-8
pg_ctl -l "$PGDATA/server.log" start
createuser postgres --createdb
mix ecto.setup

Because we are too lazy to run all these commands by hand each time Iwe need to setup a project and because automation is good: ejpcmac's Setup script for Phoenix projects using Nix and PostgreSQL

My fork of ejpcmac's script (never knows).

To stop our local PostgreSQL instance:

pg_ctl stop

Resources

localhost:4000

Direnv

Miscellaneous

Nix

TODO

About

nix-shell for Phoenix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published