Linux編 🙂
必要なもの
適当な作業フォルダを作成して移動する
$ mkdir <作業フォルダ>
$ cd <作業フォルダ>
git initを実行する
$ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /home/neko/Discord-Bot/suzuka-v3/.git/
Python 仮想環境を構築する
$ python3 -m venv <仮想環境名>
仮想環境を有効にする
$ source <仮想環境名>/bin/activate