intellij rust.github.io
1.0.0
تثبيت Ruby و Bundler. هناك ملف .ruby-version for 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 مباشرة من Idea Intellij. يمكن الوصول إلى الموقع على 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