Skip to content

Commit cac8c7e

Browse files
committed
chore: further clarification
1 parent 2fd2e6d commit cac8c7e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ We've setup the network and image files for you in the `./api` and `./database`
7272

7373
* `docker:start`: Will pull, build and start the images.
7474
* `docker:stop`: Will stop the containers if they are running.
75-
* `docker:remove`: Will remove the built images. To make any changes to the database schema (`./database/database-schema.sql`), the image needs to be __removed and rebuilt__.
75+
* `docker:remove`: Will remove the built images. To make any changes to the built database schema (`./database/database-schema.sql`), the image needs to be __removed and rebuilt__.
7676
* `docker:reset`: Will run the above scripts to reset if they are already running.
7777

7878
Some important addresses that you can use on your local host:

api/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// Listen to: 0.0.0.0:8888, (set in ../docker-compose.yaml) available as `process.env.HOST` and `process.env.PORT` here
2-
3-
// restify: await server.listen(process.env.PORT, process.env.HOST);
4-
// express: await app.listen(process.env.PORT, process.env.HOST);
5-
// fastify: await fastify.listen(process.env.PORT, process.env.HOST);
2+
// example: await server.listen(process.env.PORT, process.env.HOST);
63

74
// Connect to the database using the `database` in this file `postgres://test:test@database:5432/challenge`
85
// The `database` host will only work inside of the docker container, otherwise use localhost:5432 on your local

0 commit comments

Comments
 (0)