Need to work on a new feature or bug-fix and want a seperate development environment. Sick of cloning again and again. Sick of making
virtual envs and running
setup.py develop. With mmdev_boostrap just clone once and by making using use of
bzr branches make the most of it. Keep updated for the changes and create seperate environments instantly without any chaos.
mmdev_bootsrap automates settting up of
postorius-standalone for both
- Highly interactive, customise your paths of installation at each step.
- Checks for updates while creating a new branch for development.
- Creates and manages virtual envs automatically for
- Automatically tells you about any unavailable prerequisites.
- Automatically checks for internet connection.
$ git clone https://github.com/black-perl/mmdev_bootstrap.git $ cd mmdev_bootstrap/
Supply the virtual env folder path as command-line argument. If not supply will create the virtual environments in the current directory. Use
$ python2 mmdev_boostrap.py <path-for-virtual-envs-installation>
Modes of Usage
- Scratch : Download everthing from scratch and setup dev environments for the first time.
- Fast : Just
pull the changesand create dev environments at blazing speed. Need to specify the
same directoriesused earlier while using the script in
Create a directory which will contain the virtual environments for both the
postorius and rest.
ank@bash-box ~ >> cd Desktop/ ank@bash-box ~/Desktop >> mkdir envs
Now if you want to set up a dev environment for fixing a bug in mailman or want to work on a new feature ; create a directory for it too.
ank@bash-box ~/Desktop >> mkdir mailman-fix
Now create a directory where mmdev_boostrap will keep the one time cloned code. This will updated again and again for changes and will be used for create dev environments
ank@bash-box ~/Desktop >> mkdir mailman-all
Note: You can always ask mmdev_bootstrap to put things in the
It is supposed you have cloned the mmdev_bootstrap.
mmdev_boostrapand you are ready to go.
ank@bash-box ~/Desktop >> cd mmdev_bootstrap/ ank@bash-box ~/Desktop/mmdev_bootstrap >> python mmdev_boostrap.py ../envs
Just wait for mmdev_boostrap to interact with you and have a cup of tea.
It would look like this:
- It will automatically start
- Head over to http://127.0.0.1:9090 and enjoy.
- Next time when run with same
configurationwill let you create new dev environments at blazing speed because it will only pull the changes.
Make a push
mailman-fix, work and finally
push your changes. The workflow is as simple as that.
Contributions are always welcomed.