こんな仕組みを考えてみた。
AI系のプロジェクトでは最初にたくさんのファイルを作る必要がある。
serenaとかセットアップする必要がある。
そこでinstall.shというのを用意して、その中でファイルをばら撒いたり、
セットアップ処理を行えば、AIプロジェクトの初期作業が楽になるかもなぁ、と。
curl -fsSL https://raw.githubusercontent.com/taku-o/ai-project-template/master/install.sh | sh
install.sh
install.shの中身はこんな感じです。
これを自分の好みの環境用にカスタマイズする。
https://github.com/taku-o/ai-project-template/blob/master/install.sh
#!/bin/bash set -e echo "Installing ai-project-template..." git clone --depth 1 https://github.com/taku-o/ai-project-template.git ai-project-template rm -rf ai-project-template/.git ai-project-template/README.md ai-project-template/install.sh (cd ai-project-template; tar cf - .) | tar xpf - rm -rf ai-project-template echo "Done!"
おわり
おわり