Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Django Template Django Template
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • IzeniIzeni
  • Django TemplateDjango Template
  • Wiki
  • recommended development tools

recommended development tools · Changes

Page history
lgraybill created page: recommended development tools authored Mar 30, 2016 by Luke Graybill's avatar Luke Graybill
Show whitespace changes
Inline Side-by-side
recommended-development-tools.md 0 → 100644
View page @ c0c23e54
### Recommended development tools/aliases
_(Note: these instructions assume an Ubuntu variant - they may need to be modified for other systems.)_
- __[Virtualenv][virtualenv] and [Virtualenvwrapper][virtualenvwrapper]__
These two packages are _essential_ tools for local Python environment isolation (especially if you aren't using docker yet); check out their doc pages for more details.
__Installation__:
```bash
sudo pip install virtualenvwrapper
echo 'WORKON_HOME="$HOME/.virtualenvs"' >> ~/.bash_aliases
echo 'PROJECT_HOME="$HOME/projects"' >> ~/.bash_aliases # replace 'projects' with your preferred development path
echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bash_aliases
source ~/.bashrc
```
__Aliases__:
The virtualenvwrapper project comes with two commands, `mkvirtualenv` and `mkproject`, which will use your python2 interpreter by default. Here are some handy aliases to use the python3 interpreter when desired:
```bash
echo 'alias mkvirtualenv3="mkvirtualenv --python=`which python3`"' >> ~/.bash_aliases
echo 'alias mkproject3="mkproject --python=`which python3`"' >> ~/.bash_aliases
source ~/.bashrc
```
Now you can simply type `mkproject3 foo` to create a new project that uses your python3 interpreter by default.
[virtualenv]: https://virtualenv.readthedocs.org/en/latest/
[virtualenvwrapper]: https://virtualenvwrapper.readthedocs.org/en/latest/
Clone repository
  • exception handling tips
  • recommended development tools
  • stripe integration