diff --git a/Cloudflareのやったほうがいい設定2.txt b/Cloudflareのやったほうがいい設定2.txt index ae5a6dc..923ec94 100644 --- a/Cloudflareのやったほうがいい設定2.txt +++ b/Cloudflareのやったほうがいい設定2.txt @@ -3,8 +3,8 @@ 3. スマート階層型キャッシュトポロジーを有効にする 4. キャッシュルールで同一ホスト名のすべてをキャッシュする 5. キャッシュルールでAPIをキャッシュしない -6. 構成ルールで(投稿や削除の)APIを保護する -7. 構成ルールでトップページや(投稿や削除の)操作画面で保護を解除できるようにする -8. 構成ルールでAS15169とAS8075を限定的に許可して検索エンジンのインデックスを有効にする +6. 構成ルールでAPIを保護する +7. 構成ルールでトップページや操作画面で保護を解除できるようにする +8. 構成ルールでAS15169とAS8075を限定的に許可してインデックスを有効にする 9. リダイレクトルールは使用しない 10. ページルールは使用しない diff --git a/Dockerをインストール.txt b/Dockerをインストール.txt deleted file mode 100644 index 9cc672e..0000000 --- a/Dockerをインストール.txt +++ /dev/null @@ -1,2 +0,0 @@ -curl -fsSL https://get.docker.com/ -o install-docker.sh -sh install-docker.sh diff --git a/Gitのユーザー設定.txt b/Gitのユーザー設定.txt deleted file mode 100644 index e354ba7..0000000 --- a/Gitのユーザー設定.txt +++ /dev/null @@ -1,3 +0,0 @@ -git config --global user.name yuuki -git config --global user.email "<>" -git config --global credential.helper store diff --git a/Macブラウザリセット.txt b/Macブラウザリセット.txt deleted file mode 100644 index f299190..0000000 --- a/Macブラウザリセット.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Safari -rm -rf ~/Library/Containers/com.apple.Safari -rm -rf ~/Library/Safari -rm -rf ~/Library/Cookies -rm -rf ~/Library/WebKit - -# Google Chrome -rm -rf ~/Library/Application\ Support/Google/Chrome -rm -rf ~/Library/Caches/Google/Chrome diff --git a/Vercelのやったほうがいい設定.txt b/Vercelのやったほうがいい設定.txt deleted file mode 100644 index 43b56e8..0000000 --- a/Vercelのやったほうがいい設定.txt +++ /dev/null @@ -1,2 +0,0 @@ -1. 「Settings→General→Node.js Version」で「18.x」を選択←Pythonのサーバーレスが動かないので -2. 「Settings→Functions→Function Region」で「hnd1」を選択←hnd1=東京 diff --git a/外部サービス.txt b/外部サービス.txt deleted file mode 100644 index e643dfa..0000000 --- a/外部サービス.txt +++ /dev/null @@ -1,8 +0,0 @@ -Freenom -Cloudflare -Vultr -MongoDB Atlas -GitHub: https://github.com/yuukiwww -Codeberg: https://codeberg.org/yuukixyz -Gitea: https://gittea.dev/yuuki -Vercel diff --git a/太鼓ウェブのデータベース.txt b/太鼓ウェブのデータベース.txt deleted file mode 100644 index f5d96ef..0000000 --- a/太鼓ウェブのデータベース.txt +++ /dev/null @@ -1,20 +0,0 @@ -エクスポート - -$ docker exec -i taiko-mongo mongoexport --db taiko --collection users --out /dev/stdout | sort -n > users.json -$ docker exec -i taiko-mongo mongoexport --db taiko --collection songs --out /dev/stdout | sort -n > songs.json -$ docker exec -i taiko-mongo mongoexport --db taiko --collection scores --out /dev/stdout | sort -n > scores.json - -コミット&プッシュ - -$ git add *.json -$ git commit --author="BOT " -m "$(git diff --name-only --cached | paste -s -d ' ') が更新されました" -$ git push origin main - -インポート - -$ docker cp users.json taiko-mongo:/a -$ docker exec -i taiko-mongo mongoimport --db taiko --collection users /a -$ docker cp songs.json taiko-mongo:/b -$ docker exec -i taiko-mongo mongoimport --db taiko --collection songs /b -$ docker cp scores.json taiko-mongo:/c -$ docker exec -i taiko-mongo mongoimport --db taiko --collection scores /c