-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
5,785 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
.DS_Store | ||
**/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
FROM nginx:alpine | ||
# Node.jsの公式イメージから | ||
FROM node:20 | ||
|
||
# パーミッション修正スクリプトをコンテナにコピー | ||
COPY set-permissions.sh /usr/local/bin/set-permissions.sh | ||
# アプリケーションディレクトリを作成する | ||
WORKDIR /usr/src/app | ||
|
||
# スクリプトに実行権限を付与 | ||
RUN chmod +x /usr/local/bin/set-permissions.sh | ||
# アプリケーションの依存関係をインストールする | ||
COPY TechGuide/package*.json ./ | ||
RUN npm install | ||
|
||
# エントリーポイントをスクリプトに設定 | ||
ENTRYPOINT ["/usr/local/bin/set-permissions.sh"] | ||
# アプリケーションのソースをバンドルする | ||
COPY . . | ||
|
||
# デフォルトのコマンド | ||
CMD ["nginx", "-g", "daemon off;"] | ||
# ポートを開ける | ||
EXPOSE 8080 | ||
|
||
# PostCSSを実行する | ||
CMD [ "npm", "run", "watch" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# イベントページ作成手順 | ||
1. 作成したいイベントページのconnpassサイトのurlを、url_list.txtに羅列する | ||
- もし一覧ページから一括取得したい場合は、`ruby get_urls.rb` を叩く | ||
1. 必要情報をスクレイピングするのに、 `ruby get_ogp.rb` を叩く | ||
- result.ymlに結果が出力される | ||
1. result.ymlを内容を確認し、調整した後、finish.ymlに移植する | ||
1. `ruby transfer.rb` を叩き、finish.ymlの内容からoutput.htmlを生成する | ||
1. `cp output.html TechGuide/event.html` を叩き、所定の場所に配置する | ||
1. `localhost:88/event.html` にアクセスして内容を確認 | ||
1. 問題なければ、mainブランチに適応してリリース |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="refresh" content="0;url=https://forms.gle/uC7ujhmYd9YZ1RcH6"> | ||
<meta charset="utf-8"> | ||
<title>無料恋愛相談申し込みフォーム</title> | ||
<script type="text/javascript" src="../js/ga.js"></script> | ||
</head> | ||
<body> | ||
<p>無料恋愛相談申し込みフォームを開きます</p> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.card { | ||
transition: transform .2s ease-in-out, box-shadow .2s ease-in-out; | ||
} | ||
.card:hover { | ||
transform: translateY(-5px); | ||
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); | ||
} |
Oops, something went wrong.