intellij rust.github.io
1.0.0
ติดตั้งทับทิมและ Bundler มีไฟล์ .ruby-version สำหรับ RBENV หากคุณต้องการ คุณอาจต้องติดตั้ง GCC, Make, AutoConf และ NodeJS
$ bundle install
$ bundle exec jekyll serve --futureหากคุณใช้ Windows จะเป็นการดีกว่าที่จะไม่ต่อสู้กับ 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 การกำหนดค่าโดยตรงจาก Identij 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