Maintenance - We're currently working on things and you might experience some issues. Should be wrapped up soon!

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
What’s the best way you’ve seen to automatically set up developer environments for Django projects? Make, paver, Python scripts, shell scripts, or something else?
Post Body

I have a Django project, and I’d like setting it up on a new machine to be as easy as possible. I’d also prefer for it to be pretty opinionated. The set up begins with assuming you have the system requirements installed (pyenv, Pipenv, Postgres, Redis) and the repo cloned.

  1. Make a Postgres database with the right configuration and a new user.
  2. Create a .env file with the database url, redis url and a generated secret key.
  3. Make a new virtual environment in .venv and sync it.

Right now I have a shell script, but it’s a little error prone. Any suggestions?

Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
110,891
Link Karma
17,774
Comment Karma
86,300
Profile updated: 15 hours ago
Posts updated: 8 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago