Skip to content

Commit

Permalink
Develop local theme in easy way
Browse files Browse the repository at this point in the history
  • Loading branch information
bgornicki committed Feb 16, 2019
1 parent ff787ef commit cfb8980
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions docker-compose.engrave.development.yml
Expand Up @@ -82,7 +82,6 @@ services:
- certbot:/app/certbot
- ./engrave-blogs-renderer/src:/app/src
- ./engrave-blogs-renderer/dist:/app/dist
# - themes:/app/src/themes
secrets:
- VAULT_TOKEN

Expand Down Expand Up @@ -123,7 +122,7 @@ services:
volumes:
- nginx_conf:/etc/nginx/conf.d
- nginx_certs:/etc/letsencrypt
- themes:/app/themes
- ./engrave-blogs-renderer/src/themes:/app/themes
- ./engrave-front-dashboard/src:/app/src
- ./engrave-front-dashboard/views:/app/views
- ./engrave-front-dashboard/public:/app/public
Expand Down Expand Up @@ -184,7 +183,6 @@ volumes:
nginx_conf:
certbot:
redis-data:
themes:
vault_db:

secrets:
Expand Down
2 changes: 1 addition & 1 deletion engrave-api-gateway/src/app/app.settings.ts
Expand Up @@ -4,7 +4,7 @@ const cors = require('cors');

function settings(app: any) {
mongoose.connect("mongodb://mongo:27017/engrave", { useNewUrlParser: true });
app.use(cors);
app.use(cors());
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
}
Expand Down
2 changes: 1 addition & 1 deletion engrave-blogs-renderer/package.json
Expand Up @@ -8,7 +8,7 @@
"start": "node dist/index.js",
"build": "tsc",
"debug": "tsc & NODE_ENV=production node --inspect=0.0.0.0:3001 dist/index.js",
"watch": "nodemon -L -e ts -w ./src -x npm run debug"
"watch": "nodemon -L -e ts,pug,css,js,json -w ./src -x npm run debug"
},
"author": "bgornicki",
"license": "ISC",
Expand Down

0 comments on commit cfb8980

Please sign in to comment.