intellij rust.github.io
1.0.0
Ruby와 Bundler를 설치하십시오. 원하는 경우 rbenv 용 .ruby-version 파일이 있습니다. 아마도 GCC, Make, AutoConf 및 Nodejs가 설치해야 할 것입니다.
$ bundle install
$ bundle exec jekyll serve --futureWindows를 사용하는 경우 Ruby Installer와 싸우지 않는 것이 좋습니다. 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 Idea에서 직접 실행하십시오. 웹 사이트는 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