Skip to content

Commit d2abf1e

Browse files
committed
Adjust Docker NPM install script name
1 parent 0c34fd0 commit d2abf1e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ release-build:
3636
##################################################
3737
# Local development
3838
##################################################
39-
init: # Initialize the project for local development
39+
container-npm-install: # Install NPM packages from within Docker
4040
@# Install npm packages using Docker if node_modules doesn't exist
4141
@if [ ! -d "node_modules" ]; then \
4242
echo "Installing npm packages using Docker. This can take several minutes without output..."; \
@@ -45,7 +45,6 @@ init: # Initialize the project for local development
4545
echo "node_modules directory already exists, skipping npm install"; \
4646
fi
4747

48-
4948
dev: # Run the Next.js local dev server in Docker
5049
docker compose up --detach nextjs
5150
docker compose logs --follow nextjs

app/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ Alternatively, you can run the application in a Docker container.
6464

6565
From the `app/` directory:
6666

67-
1. (Optional) Install Node packages to your local `node_modules` directory so tools like VSCode can provide intellisense and type checking
67+
1. (Optional) If your machine doesn't include Node, and you'd like tools like VS Code to provide intellisense & type checking, run the following command to install the packages locally:
6868
```bash
69-
make init
69+
make container-npm-install
7070
```
7171
1. Run the local development server
7272
```bash

0 commit comments

Comments
 (0)