intellij rust.github.io
1.0.0
RubyとBundlerをインストールします。必要に応じて、rbenv用の.ruby-versionファイルがあります。おそらく、GCC、make、autoconf、nodejsがインストールされる必要があります。
$ bundle install
$ bundle exec jekyll serve --futureWindowsを使用している場合は、Rubyインストーラーと戦わない方が良いです。私はWSLを使用し、ファイルの変更を除いて、かなり完璧に動作します(追跡の問題を参照)。代わりにこれを実行する必要があります:
$ bundle exec jekyll serve --no-watch監視の欠如のために、あなたはすることができます:
$ bundle exec jekyll serve --detach
$ while (bundle exec jekyll build --incremental) ; do sleep 5 ; done intellij-rust.github.io構成をIntellij Ideasから直接実行します。ウェブサイトはhttp://localhost:8080/でアクセスできます。 _posts 、 assets 、 _docs 、および_includesディレクトリで行われた変更は、すぐに反映されます。
または、端末から次のコマンドを使用できます。
$ docker build -t intellij-rust.github.io .
$ docker run
-v $PWD /_posts:/intellij-rust.github.io/_posts
-v $PWD /assets:/intellij-rust.github.io/assets
-v $PWD /_docs:/intellij-rust.github.io/_docs
-v $PWD /_includes:/intellij-rust.github.io/_includes
-v $PWD /_site:/intellij-rust.github.io/_site
-p 8080:8080 -it intellij-rust.github.io