You need to sign in first.
26 |{props.description}
23 |
54 |
55 |
78 |
122 |
123 | **API key**: obtained by tapping the "API Key" button on the App Dashboard
124 |
125 |
126 |
127 | Then, copy-paste those values in the following two keys of your .env file:
128 |
129 | ```
130 | # Add your Domain Validation Key here:
131 | DOMAIN_VALIDATION_KEY=
132 |
133 | # Add your API key here:
134 | PI_API_KEY=
135 | ```
136 |
137 |
138 | ### 6. Set up environment variables (3/3)
139 |
140 | Configure the following environment variables:
141 |
142 | ```
143 | # Generate a secure password for your MongoDB database and paste it here:
144 | MONGODB_PASSWORD=
145 |
146 | # Generate a random string (e.g 64 alphanumeric characters) and paste it here:
147 | SESSION_SECRET=
148 | ```
149 |
150 |
151 | ### 7. Run the docker containers:
152 |
153 | **Make sure you are in the `platform-demo-app` directory before running any `docker-compose` command!**
154 |
155 | ```
156 | docker-compose build
157 | docker-compose up -d
158 | ```
159 |
160 | You can check which containers are running using either one of the following two commands:
161 |
162 | ```
163 | docker ps
164 | docker-compose ps
165 | ```
166 |
167 |
168 | You can print out logs of the Docker containers using the following command:
169 |
170 | ```
171 | docker-compose logs -f