gcloud source repos clone [REPO_NAME] [TARGET_DIR] --project=[PROJECT_ID]
where [REPO_NAME] is Cloud Source Repository name,
[TARGET_DIR] is where to put the source code,
and [PROJECT_ID] is App Engine Project ID.
| Verifying that "vochicong.id" is my Blockstack ID. https://onename.com/vochicong |
WebアプリをGitHubプライベートレポジトリから GCP App Engineへ手軽にCI/CDしたい。
Jenkins, TravisCI, CircleCIを比較した結果、今回CircleCIを試すことにしました。
| $ pip install --upgrade pip | |
| $ pip install --user --upgrade virtualenv | |
| $ export PATH=~/.local/bin/:$PATH | |
| $ which virtualenv | |
| /home/ubuntu//.local/bin/virtualenv |
| // Edit this keymap file and save to apply. | |
| [ | |
| { "command": "findnext", "keys": { "win": [""] } }, | |
| { "command": "navigate", "keys": { "win": ["Alt-E"] } }, | |
| { "command": "goToNextError", "keys": { "win": [""] } }, | |
| { "command": "tab0", "keys": { "mac": ["Alt-0"] } }, | |
| { "command": "tab1", "keys": { "mac": ["Alt-1"] } }, | |
| { "command": "tab2", "keys": { "mac": ["Alt-2"] } }, | |
| { "command": "tab3", "keys": { "mac": ["Alt-3"] } }, | |
| { "command": "tab4", "keys": { "mac": ["Alt-4"] } }, |
| virtualenv .env | |
| source .env/bin/activate | |
| pip install -U janome jupyter | |
| pip install -U Cython git+https://github.com/explosion/spaCy | |
| pip freeze > .env/requirements.txt |
To disable atp get warning when using GCP Console.
mkdir ~/.cloudshell touch ~/.cloudshell/no-apt-get-warning