You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker workflows don't align with the hackathon development model.
AI-related features depend on MongoDB Atlas due to Vector Search index requirements, which are not available in standard MongoDB instances, making local MongoDB containers insufficient.
Deployment environments vary too widely for a single Docker configuration to be useful or maintainable.
Copy file name to clipboardExpand all lines: PROD_CHECKLIST.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ The following is a list of various code that you may not potentially be using an
41
41
- Some or all of the last form-group set, which are the social login choices
42
42
- views/account/profile.pug
43
43
- Link/unlink buttons for GitHub, LinkedIn, Steam
44
-
- Remove README, changelog, this guide, Docker-related files if not using them
44
+
- Remove README, changelog and this guide if not using them
45
45
- Create a domain whitelist for your app in Here's developer portal if you are using the HERE Maps API.
46
46
- Add unit tests so you can test and incorporate dependency and upstream updates with less effort. GPT tools may create some good unit tests with very low effort.
:top: <sub>[**back to top**](#table-of-contents)</sub>
1390
1386
1391
-
## Docker
1392
-
1393
-
You will need to install docker and docker-compose on your system. If you are using WSL, you will need to install Docker Desktop on Windows and docker-compose on WSL.
After installing docker, start the application with the following commands :
1398
-
1399
-
```
1400
-
# To build the project while suppressing most of the build messages
1401
-
docker-compose build web
1402
-
1403
-
# To build the project without suppressing the build messages or using cached data
1404
-
docker-compose build --no-cache --progress=plain web
1405
-
1406
-
# To start the application (or to restart after making changes to the source code)
1407
-
docker-compose up web
1408
-
1409
-
```
1410
-
1411
-
To view the app, find your docker IP address + port 8080 ( this will typically be `http://localhost:8080/` ). To use a port other than 8080, you would need to modify the port in app.js, Dockerfile, and docker-compose.yml.
1412
-
1413
1387
## Deployment
1414
1388
1415
1389
Using a local instance on your laptop with ngrok is a good solution for your demo during the hackathon, and you wouldn't necessarily need to deploy to a cloud platform. If you wish to have your app run 24x7 for a general audience, once you are ready to deploy your app, you will need to create an account with a cloud platform to host it. There are a number of cloud service providers out there that you can research. Service providers like AWS and Azure provide a free tier of service which can help you get started with just some minor costs (such as traffic overage if any, etc).
0 commit comments