Skip to content

Commit 4d09f41

Browse files
committed
feat!: remove Docker support and related files
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.
1 parent 3158a18 commit 4d09f41

File tree

5 files changed

+1
-60
lines changed

5 files changed

+1
-60
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

Dockerfile

Lines changed: 0 additions & 18 deletions
This file was deleted.

PROD_CHECKLIST.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The following is a list of various code that you may not potentially be using an
4141
- Some or all of the last form-group set, which are the social login choices
4242
- views/account/profile.pug
4343
- 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
4545
- Create a domain whitelist for your app in Here's developer portal if you are using the HERE Maps API.
4646
- 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.
4747

README.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ I also tried to make it as **generic** and **reusable** as possible to cover mos
6262
- [JavaScript Date](#-javascript-date-cheatsheet)
6363
- [Mongoose Cheatsheet](#mongoose-cheatsheet)
6464
- [Deployment](#deployment)
65-
- [Docker](#docker)
6665
- [Production](#production)
6766
- [Changelog](#changelog)
6867
- [Contributing](#contributing)
@@ -564,12 +563,9 @@ The metadata for Open Graph is only set up for the home page (`home.pug`). Updat
564563
| **views/partials**/footer.pug | Footer partial template. |
565564
| **views**/layout.pug | Base template. |
566565
| **views**/home.pug | Home page template. |
567-
| .dockerignore | Folder and files ignored by docker usage. |
568566
| .env.example | Your API keys, tokens, passwords and database URI. |
569567
| .gitignore | Folder and files ignored by git. |
570568
| app.js | The main application file. |
571-
| docker-compose.yml | Docker compose configuration file. |
572-
| Dockerfile | Docker configuration file. |
573569
| eslint.config.mjs | Rules for eslint linter. |
574570
| package.json | NPM dependencies. |
575571
| package-lock.json | Contains exact versions of NPM dependencies in package.json. |
@@ -1388,28 +1384,6 @@ User.aggregate({ $group: { _id: null, total: { $sum: '$votes' } } }, (err, votes
13881384
13891385
:top: <sub>[**back to top**](#table-of-contents)</sub>
13901386
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.
1394-
1395-
- [Docker installation](https://docs.docker.com/engine/installation/)
1396-
1397-
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-
14131387
## Deployment
14141388
14151389
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).

docker-compose.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)