Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pipy
· 14y ago · 0 comments
Am I the only person that uses pure and simple symlinks?
https://en.wikipedia.org/wiki/Symbolic_link
Comments
[–]
a_a_r_o_n
14y ago
"Am I the only person ..."
The answer to this is always no.
[–]
rmc
14y ago
The problem with symlinks is that there's manual intevention needed when you deploy.
[–]
pipy
OP
14y ago
Not at all. Store settings_dev.py and settings_prod.py in your repository. What will be different on production machine and on local one is the symlink file called settings.py.