Skip to content

[WIP] Support vagrant #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

[WIP] Support vagrant #36

wants to merge 2 commits into from

Conversation

sho-h
Copy link
Contributor

@sho-h sho-h commented Sep 4, 2017

手元での修正の動作確認のためにVagrantfileを作っています。
以下をして動くようにしようと思います。

  1. local$ vagrant up
  2. .ssh/configでdocs.ruby-lang.orgをlocalhostに向ける
  3. local$ bundle exec cap vagrant deploy

現状不完全で、以下ができるようになればマージのお願いまでしてもいいかなと思っています。(が、#33 の確認とかには使えそうかなと思ってるので、その辺はしばらくあとにしようかと)

  • conf/docs.ruby-lang.orgをデプロイしてない
  • るりまサーチのインデックス更新ができるようにしていない
    • ruremaユーザでcrontabのコマンド実行したらエラーになった気がするけど追ってない
  • vagrantだとSSLでサービス提供を止めるなどのギミックを入れてアクセスできるようにする

Exec below commands to setup on vagrant.
local$ vagrant up
(configure .ssh/config for docs.ruby-lang.org to access vagrant temporary)
local$ bundle exec cap production deploy
@hsbt
Copy link
Member

hsbt commented Sep 2, 2019

vagrant には拘りませんが、同じような開発をしやすい状態にしていくのは賛成です。どなたかチャレンジする方がいたら続きはお任せします。

@hsbt hsbt closed this Sep 2, 2019
znz added a commit to znz/docs.ruby-lang.org that referenced this pull request Jan 28, 2020
- Based on ruby#36
- Update TLS configurations using https://ssl-config.mozilla.org/#server=nginx&server-version=1.10.3&config=intermediate&openssl-version=1.1.0l&hsts=false
- Provision using ansible
- Use bash instead of zsh in `system/update-rurema-index`
@znz znz mentioned this pull request Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants