Skip to content

Commit

Permalink
Add nodemon as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rogup committed Mar 18, 2024
1 parent ad14b22 commit c668c03
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 2 deletions.
189 changes: 189 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"chai": "^4.3.7",
"env-cmd": "^10.1.0",
"mocha": "^10.2.0",
"nodemon": "^3.1.0",
"proxyquire": "^2.1.3",
"sequelize-cli": "^6.4.1",
"sinon": "^15.0.1",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ This application provides the back-end functionality for Land Explorer. It has 4
## Requirements

- Nodejs
- Nodemon
- MySQL

## Installation

- Run `npm install`
- Copy `.env.example` and rename the copy to `.env`
- Fill in the `.env` with database credential
- If in development, create a MySql schema for testing
- Fill in the `.env` with database credentials
- Run migration `npx sequelize-cli db:migrate`
- Run seeder `npx sequelize-cli db:seed:all`
- Run `npm run dev:serve`
Expand Down
1 change: 1 addition & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ fi
git pull

# Install dependencies
export NODE_ENV=production
npm ci

# Transpile ts into js
Expand Down

0 comments on commit c668c03

Please sign in to comment.