Skip to content
Snippets Groups Projects
Commit 9ece5d11 authored by Fernando Gbur dos Santos's avatar Fernando Gbur dos Santos
Browse files

Merge branch 'development' into 'homologa'

[REMOVE] Removing some trash files

See merge request !474
parents 1afb2807 349c9c24
No related branches found
No related tags found
1 merge request!474[REMOVE] Removing some trash files
services:
simcaq-node:
container_name: simcaq-node
build: .
ports:
- '3000:3000'
develop:
watch:
- action: sync
path: .
target: /API
#!/bin/bash
echo "Starting simcaq-node"
gulp watch &> /dev/null &
cd build
NODE_ENV=production gulp run
const gulp = require('gulp');
const nodemon = require('gulp-nodemon');
gulp.task('run', () => {
// process.chdir('build');
nodemon({
script: 'server.js',
// tasks: ['watch'],
ignore: ["test/test.js", "gulpfile.babel.js"],
ext: 'js html json',
env: { 'NODE_ENV': process.env.NODE_ENV }
});
});
gulp.task('default', () => {
console.log("Não execuatar apenas gulp, execute da forma:");
console.log("\t\tgulp <task>");
});
curl -X 'POST' \
'http://10.254.221.20:3000/api/v1//auth/token' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"email": "eduardomsouza@ufpr.br",
"password": "teste123",
"client_secret": "LDE",
"grant_type": "password"
}'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment