Skip to content

Files

Latest commit

 

History

History
82 lines (48 loc) · 2.26 KB

README.md

File metadata and controls

82 lines (48 loc) · 2.26 KB

jsys24-hackathon-sample

セットアップ

  1. astro.config.mjsbaseのレポジトリ名をフォーク先のレポジトリ名に変更する
import { defineConfig } from "astro/config";

import react from "@astrojs/react";

// https://astro.build/config
export default defineConfig({
  site: "https://sohosai.github.io",
  base: "jsys24-hackathon", //<- ここのレポジトリ名を変更する
  integrations: [react()],
});
  1. 以下のコマンドでyarnをインストールする。
npm install -g yarn
  1. 以下のコマンドを実行する。
yarn
  1. src/pages/index.astroに班の名前と呼んでほしい名前を適切な場所に書く。

  2. src/pages/に1.で書いた呼んでほしい名前のディレクトリを作る。

  3. サンプルで用意されているディレクトリ(member1~member5)にあるindex.astroを作成したディレクトリにコピーする。

  4. サンプルで用意されているディレクトリ(member1~member5)にあるhinagata.astroを参考に作成したディレクトリ内でマークダウンファイルを作成する。

  5. 以下のコマンドを実行して、ローカルで起動する。

yarn dev

branch のルール

PRs をするブランチ (Default branch)

  • develop

以下のブランチは、すべて develop ブランチにマージすること

機能を追加する際に作成するブランチ

  • feat/feat/#[issue-number]-[issue-summary]

    example) feat/feat/#12-add-card-button-component

バグ修正をする際に作成するブランチ

  • feat/bugfix/#[issue-number]-[issue-summary]

    example) feat/bugfix/#12-fix-button-function

バグ以外の修正や変更をする際に作成するブランチ

  • feat/fix/#[issue-number]-[issue-summary]

    example) feat/fix/#12-change-title

設定の変更等をする際に作成するブランチ

  • feat/config/#[issue-number]-[issue-summary]

    example) feat/config/#12-add-prettier-config

その他、以下の条件の下で勝手に新たな種類のブランチを作成してもよい

  • feat/[GitHub の username]/[自由にして良い部分]/#[issue-number]-[issue-summary]

    example) feat/Myxogastria0808/nyoki/#112-add-my-config-file