Skip to content

Commit d18321a

Browse files
committed
Simpler now without DDev
1 parent b388753 commit d18321a

5 files changed

Lines changed: 5 additions & 69 deletions

File tree

.ddev/collections/Dockerfile

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

.ddev/config.hooks.yaml

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

.ddev/config.yaml

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

.ddev/docker-compose.collections.yaml

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

readme.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,14 @@ This is the code behind [Mia's collection website](http://collections.artsmia.or
22

33
# Usage
44

5-
`ddev start` to start local containers, install dependencies, and build the production bundle.
6-
75
```
8-
# Start the server in dev/watch mode (blocking)
9-
ddev exec -s collections npm run start
10-
11-
# Or run server in production mode (blocking)
12-
ddev exec -s collections npm run build
13-
ddev exec -s collections npm run serve
6+
nvm use
7+
npm ci
8+
npm run build
9+
npm run start
1410
```
1511

16-
While `start` runs, the site is viewable at https://artsmia-collections.ddev.site:3000/
17-
18-
# Legacy instructions
19-
20-
Run when you npm start for code to watch for changes: `npm run watchSass`
21-
22-
## Usage
23-
24-
To start the server locally, you (1) need passing familiarity with
25-
`node`. (2) `npm install` to download all this project's dependencies.
26-
(3) `npm start` should start the webserver and begin to update the
27-
javascript bundle.
28-
29-
To compile the sass, install `libsass` and `sassc` (`brew install sassc`) and run `sassc -lm sass/main.scss css/main.css`
12+
While `start` runs, the site is viewable at http://localhost:1314/
3013

3114
# Companion code
3215

0 commit comments

Comments
 (0)