Skip to content
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

Add minimal miyadaiku build and build with Vercel #18

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

tnir
Copy link
Member

@tnir tnir commented Feb 19, 2020

コンテンツのソースコードを一切いじらずにmiyadaikuを導入し、Vercelでビルド&デプロイする。

#6 はかなりコンフリクトが発生していたりするので、こちらをベースにしてテンプレートを切り出すほうがいいかもしれない。

Closes #6

Replaces #9

Signed-off-by: Takuya Noguchi takninnovationresearch@gmail.com

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
@vercel
Copy link

vercel bot commented Feb 19, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/django-ja/djangoproject-jp/485xhviqb
✅ Preview: https://djangoproject-jp-git-miyadaiku-on-zeit.django-ja.now.sh

package.json Show resolved Hide resolved
@tnir tnir added the miyadaiku move html to miyadaiku label Feb 19, 2020
@tnir tnir added this to To do in miyadaiku Feb 19, 2020
@tnir tnir changed the title Add minimal miyadaiku build on ZEIT Add minimal miyadaiku build and build with ZEIT Feb 19, 2020
@tnir tnir moved this from To do to In progress in miyadaiku Feb 19, 2020
@tnir tnir moved this from In progress to Review in progress in miyadaiku Feb 19, 2020
"description": "Source code of http://djangoproject.jp/",
"scripts": {
"build": "npm run -s install-miyadaiku && npm run -s escape-jinja2 && npm run -s prepare-contents && npm run -s prepare-templates && miyadaiku-build work && npm run -s setup-artifacts",
"escape-jinja2": "sed -i -e '1i {% raw %}' -e '$a {% endraw %}' $(find . -type f -name '*.html*')",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTML中のJinja2フォーマットを解釈してしまうので、rawで囲う。以下の2ファイルだけがJinja2を含む。

cf. https://zeit.co/django-ja/djangoproject-jp/9nmfo5r70

@tnir tnir mentioned this pull request Feb 19, 2020
@tnir
Copy link
Member Author

tnir commented Mar 1, 2020

@hirokiky Could you take a look at this?

@tnir tnir changed the title Add minimal miyadaiku build and build with ZEIT Add minimal miyadaiku build and build with Vercel Jun 11, 2020
@tnir
Copy link
Member Author

tnir commented Jun 11, 2020

ZEIT Now => Vercel

@hirokiky hirokiky merged commit 55e2750 into master Jun 12, 2020
miyadaiku automation moved this from Review in progress to Done Jun 12, 2020
@hirokiky hirokiky deleted the miyadaiku-on-zeit branch June 12, 2020 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement miyadaiku move html to miyadaiku
Projects
No open projects
miyadaiku
  
Done
Development

Successfully merging this pull request may close these issues.

miyadaiku移行
2 participants