This is a repo about init my dev environment
- a script to init my development environment at a new machine.
- Some useful scripts for linux os system.
- rstrip.py: strip white spaces at the end of every line.
- pip_conf.py: switch pip source to aliyun or douban or qinghua.
- change_ubuntu_mirror_sources.sh: change apt mirror sources of ubuntu16/18/19/20
- createdatabase.py: create database for django project
- build_development_environment.sh: install packages for python and vue develop environment
- upgrade_py.sh: make it easy for ubuntu to install python
Usage:
# Change source of pip to mirrors.cloud.tencent.com, worked at both Linux and Windows(Run with Git Bash).
curl https://raw.githubusercontent.com/waketzheng/carstino/master/pip_conf.py|python
# Change apt source of ubuntu16/18/19/20 to tencent cloud.
curl https://raw.githubusercontent.com/waketzheng/carstino/master/change_ubuntu_mirror_sources.py|python
- init_my_dev.py: setting for vim, git store, pipenv aliases.
PS: I usually init my development environment in a new machine as following
git clone https://github.com/waketzheng/carstino.git
cd carstino
./init_my_dev.py
- build_development_environment.sh: For new ubuntu machine(version>=16), just run this script.
./build_development_environment.sh