fix scripts + mailer
This commit is contained in:
parent
76544d6251
commit
7c5f677d97
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker stop $(docker ps -q)
|
||||
docker volume remove multy_stub_volume
|
||||
docker volume create multy_stub_volume
|
||||
docker run --rm -v multy_stub_volume:/data/db -p 27017:27017 -d mongo
|
||||
docker volume remove red_coder_volume
|
||||
docker volume create red_coder_volume
|
||||
docker run --rm -v red_coder_volume:/data/db -p 27017:27017 -d mongo:4.4.13
|
||||
|
@ -4,7 +4,7 @@
|
||||
"description": "",
|
||||
"main": "src/main.ts",
|
||||
"scripts": {
|
||||
"start": "nodemon",
|
||||
"start": "cross-env MODE=\"dev\" nodemon",
|
||||
"build": "tsc",
|
||||
"up:prod": "node dist/src/main",
|
||||
"deploy:d:stop": "docker-compose down",
|
||||
|
@ -1,10 +1,11 @@
|
||||
import express from 'express'
|
||||
import cookieSession from 'cookie-session'
|
||||
import cors from 'cors'
|
||||
|
||||
import './config'
|
||||
import { errorHandle } from './utils/error-handling'
|
||||
import { router } from './routes'
|
||||
import cors from 'cors'
|
||||
import './mailer'
|
||||
|
||||
const app = express()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user