GitHub x Python development preparation memo

It's often annoying to make a mistake in the procedure, so just make a note. I'm new to Python, so I don't know much about setting up a virtual environment, but if you repeat this process I want to automate.

1. Create a repository on GitHub

--Added README --Added Python .gitignore --Add MIT license for the time being

スクリーンショット 2017-08-12 16.07.30.png

2. Clone

スクリーンショット 2017-08-12 16.06.38.png

3. Create a virtual environment

$ python3.6 -m venv <Target directory>

4. Fixed gitignore

Add pyvenv.cfg to .gitignore, commit and push

# venv
pyvenv.cfg

If you commit in the middle and the cache remains and the update of .gitignore is not applied, refer to the following article http://qiita.com/white_aspara25/items/64eafa107b61c6568f01

Recommended Posts

GitHub x Python development preparation memo
[MEMO] [Development environment construction] Python
Python memo Anaconda x Jupyter Notebook
python memo
Web application development memo in python
Python memo
python memo
Vim + Python development environment setting memo
Python memo
Emacs Python development environment construction memo
Python memo
Python memo
Python & Machine Learning Study Memo: Environment Preparation
Mac OS X development environment construction memo
[Python] Memo dictionary
python beginner memo (9.2-10)
Linux x memo
python beginner memo (9.1)
★ Memo ★ Python Iroha
[Python] EDA memo
Python 3 operator memo
[My memo] python
Python3 metaclass memo
[Python] Basemap memo
Python beginner memo (2)
[Python] Numpy memo
[Python] Web development preparation (building a virtual environment)
Python class (Python learning memo ⑦)
python openCV installation (memo)
Python module (Python learning memo ④)
Visualization memo by Python
Python package development notes
Python test package memo
[Python] Memo about functions
Python development environment construction
python regular expression memo
Binary search (python2.7) memo
[My memo] python -v / python -V
Python3 List / dictionary memo
[Memo] Python3 list sort
Python Tips (my memo)
[Python] Memo about errors
Build a Python development environment on Mac OS X
About Python development environment
DynamoDB Script Memo (Python)
Python basic memo --Part 2
python recipe book Memo
Basic Python command memo
python2.7 development environment construction
Python OpenCV tutorial memo
Framework development in Python
Python basic grammar memo
Development environment in Python
TensorFlow API memo (Python)
[Blender x Python] Blender Python tips (11/100)
python useful memo links
Python decorator operation memo
python memo (for myself): About the development environment virtualenv
Python basic memo --Part 1
Effective Python Memo Item 3
Bluemix Python Microservices Development