Skip to content

Commit d5db147

Browse files
Merge pull request #45 from lighthouse-labs/andydlindsay-sass-on-start
Compile Sass on Server Start
2 parents 4fa27b3 + 5411469 commit d5db147

File tree

6 files changed

+797
-1194
lines changed

6 files changed

+797
-1194
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ The following steps are only for _one_ of the group members to perform.
2020
- password: `labber`
2121
- database: `midterm`
2222
3. Install dependencies: `npm i`
23-
4. Fix to binaries for sass: `npm rebuild node-sass`
24-
5. Reset database: `npm run db:reset`
25-
- Check the db folder to see what gets created and seeded in the SDB
26-
7. Run the server: `npm run local`
23+
4. Reset database: `npm run db:reset`
24+
- Check the db folder to see what gets created and seeded in the DB
25+
5. Run the server: `npm run local`
2726
- Note: nodemon is used, so you should not have to restart your server
28-
8. Visit `http://localhost:8080/`
27+
6. Visit [`http://localhost:8080/`](http://localhost:8080/)
2928

3029
## Warnings & Tips
3130

@@ -39,6 +38,6 @@ The following steps are only for _one_ of the group members to perform.
3938

4039
## Dependencies
4140

42-
- Node 10.x or above
43-
- NPM 5.x or above
41+
- Node 14.x or above
42+
- NPM 6.x or above
4443
- PG 6.x

lib/sass-middleware.js

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

nodemon.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ext": "html,css,js,scss,ejs"
3+
}

0 commit comments

Comments
 (0)