> For the complete documentation index, see [llms.txt](https://docs.portaldots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portaldots.com/4.x/setup/install/lolipop/install.md).

# ステップ5. PortalDotsのインストール作業を進める

ウェブシステムの名前や、ここまでで確認してきたデータベースやメールサーバーの設定を行います。

「PortalDotsへようこそ！」画面にある「設定をはじめる」をクリックします。

## 5.1. 「ポータルの情報」設定

![](https://1820339500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdS46OJLPqBEXcvFRSKgk%2Fuploads%2Fgit-blob-649367409c87f65d61b57ea9d2035c8e93191bcc%2FPortalDots%20%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%20%E2%80%94%20PortalDots.png?alt=media)

「ポータルの情報」画面では、以下のように設定します。

| 設定項目                  | 説明                                                                                                                                                     |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ポータルの名前               | ウェブシステムの名前を設定します。例えば「門点祭ウェブシステム」など、「〇〇祭ウェブシステム」という名前がお勧めです。                                                                                            |
| ポータルのURL              | ロリポップのユーザー専用ページ上部に表示されている「ロリポップ！のドメイン」の先頭に、「https\://」を追加したものを入力してください。「ロリポップ！のドメイン」が「 〇〇.capoo.jp 」の場合、「ポータルのURL」には「 <https://〇〇.capoo.jp」と入力してください。> |
| https接続を強制する          | チェックを入れます。                                                                                                                                             |
| 実行委員会の名称              | 学園祭実行委員会の名称を入力します。ここで入力された名前は、PortalDotsから送信されるメールの文面など、PortalDotsの画面上に表示されます。                                                                         |
| 実行委員会のメールアドレス         | 学園祭参加企画からのお問い合わせを受け付けるメールアドレスを入力します。PortalDotsから送信された「お問い合わせ」はこのメールアドレスに届くほか、PortalDotsから送信されるメールの文面など、PortalDotsの画面上に表示されます。                          |
| 学校発行メールアドレスのローカルパート種別 | <p>学校が学生に配布・発行しているメールアドレスについて、「@(アットマーク)」より前の文字列が下記のどちらに該当するかを選択してください。<br>- 学籍番号<br>- 学籍番号ではない文字列 (学籍番号に関係のない文字が1文字以上含まれている場合もこちらを選択)</p>             |
| 学校発行メールアドレスのドメイン      | 学校が学生に配布・発行しているメールアドレスの「@」より後の文字列を入力します。                                                                                                               |

上記以外の設定項目については、各学校・各学園祭の事情にあった情報を入力してください。

## 5.2.「MySQL データベース設定」

![](https://1820339500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdS46OJLPqBEXcvFRSKgk%2Fuploads%2Fgit-blob-5b7b9dab97584c3927f02a9001e4d7fc63fe99af%2Fimage.png?alt=media)

「MySQL データベース設定」では、「[2. データベースを作成する](/4.x/setup/install/lolipop/database.md)」でメモした情報を入力します。

| 設定項目        | 説明                       |
| ----------- | ------------------------ |
| データベースのホスト名 | メモした「サーバー」を入力します。        |
| ポート番号       | 半角数字で「3306」を入力します。       |
| データベース名     | メモした「データベース名」を入力します。     |
| ユーザー名       | メモした「データベースユーザー名」を入力します。 |
| パスワード       | メモした「データベースパスワード」を入力します。 |

## 5.3. 「メール配信設定」

![](https://1820339500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdS46OJLPqBEXcvFRSKgk%2Fuploads%2Fgit-blob-eef33f4e032a6fe820c439f44e7b69d58ba1af6c%2Fimage.png?alt=media)

「メール配信設定」では、「[3. メールサーバーを確認する](/4.x/setup/install/lolipop/email.md)」でメモした情報を入力します。入力後「保存して次へ」をクリックすると、「実行委員会のメールアドレス」に対してテストメールが送信されます。

| 設定項目                            | 説明                                                                                                                                              |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| メールサーバー(SMTP)のホスト               | <p>メモした「SMTP メールサーバー」<strong>の先頭に「ssl://」をつけたもの</strong>を入力します。</p><p>「SMTP メールサーバー」が「smtp.lolipop.jp」の場合、「ssl://smtp.lolipop.jp」を入力してください。</p> |
| メールサーバー(SMTP)のポート               | メモしたポート番号(半角数字)を入力します。                                                                                                                          |
| メールユーザー名                        | メモした「メールアカウント」を入力します。                                                                                                                           |
| メールパスワード                        | メモした「メールパスワード」を入力します。                                                                                                                           |
| PortalDotsから配信されるメールの差出人メールアドレス | メモした「メールアドレス」を入力します。                                                                                                                            |
| PortalDotsから配信されるメールの差出人の名前     | 任意の文字列を設定できます。ウェブシステムの名前や実行委員会の名前にするのがお勧めです。ここで設定した名前は、PortalDotsから送信されるメールをユーザーが確認する際、メールアプリの「差出人」欄に表示されます。                                    |

## 5.4. 「管理者ユーザーの設定」

![](https://1820339500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdS46OJLPqBEXcvFRSKgk%2Fuploads%2Fgit-blob-ecd500090cb46aef8eb6ac2070368f45dd6fa0ad%2Fimage.png?alt=media)

1. 「管理者ユーザーの作成」では、あなた自身の情報を入力してください。
2. 「登録してインストール実行」をクリックすると、データベース上に PortalDots関連データの保存領域が作成され、管理者ユーザー情報がデータベース上に保存されます。
3. 「メール確認」ページが表示されます。「学校発行メールアドレス」と「連絡先メールアドレス」それぞれに1通ずつ確認メールが送信されます。それぞれのメールに記載されたURLにアクセスしてください。2通のURLにアクセスしたら、インストール完了です！

![](https://1820339500-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdS46OJLPqBEXcvFRSKgk%2Fuploads%2Fgit-blob-233323a8bbffdbeb3b1ce71d358cb255ab0b1ed5%2Fimage.png?alt=media)

続いて、PortalDotsからメール配信を行うための設定を行います。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.portaldots.com/4.x/setup/install/lolipop/install.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
