-
Clonar o repositório
-
Copiar o projeto dentro da pasta ./web/public
-
$docker-compose up // subir container
-
$docker exec -it wpcontainer_web_1 /bin/bash //Entrando no container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
wordpress: | |
image: wordpress | |
container_name: environmentwp | |
build: | |
context: ./ | |
dockerfile: Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heroku create -b https://github.com/heroku/heroku-buildpack-static.git | |
echo '{ "root": "build/" }' > static.json | |
sed '/build/d' .gitignore > .gitignore.new && mv .gitignore.new .gitignore | |
## Build, commit, & deploy | |
npm run build | |
git add . | |
git commit -m "react-create-app on Heroku" | |
git push heroku master |
-
Definição 1: Banco de dados é uma coleção de dados relacionados. Relacional* Orientado a Objetos
-
Definição 2: Um SGBD - Sistema Gerenciador de Banco de dados (Database Management System) é uma coleção de programas que permite aos usuários criar e manter um banco de dados. (ferramenta/software/mysql). Mysql é um software do tipo SGBD.
-
Definição 3: Combinação entre SGBD e banco: Sistema de banco de dados.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
class Test extends React.Component { | |
render(){ | |
return( | |
<div>Test</div> | |
) | |
} | |
} |
A Set of React Components that Implement Google's Material Design
Is a set of React components that implement flexboxgrid.css. It even has an optional support for CSS Modules with some extra configuration.
Promise based HTTP client for the browser and node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"es6": true, | |
"node": true, | |
"browser": true | |
}, | |
"extends": "eslint:recommended", | |
"ecmaFeatures": { | |
"jsx": true, | |
"experimentalObjectRestSpread": true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker | |
Actualy we are using docker for run projects localy. | |
## MAC OSX: | |
## Docker Toolbox (https://github.com/docker/toolbox/releases/download/v1.12.0/DockerToolbox-1.12.0.pkg) | |
Install normaly the dmg file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#write in meteor database, frist task list | |
import pymongo | |
from pymongo import MongoClient | |
#Mongo is runnig here | |
client = MongoClient('127.0.0.1:3001') | |
#Defining collection | |
Tasks = client.meteor.tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var watch = require('gulp-watch'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var cssnano = require('gulp-cssnano'); | |
var minifyCss = require('gulp-minify-css'); | |
var jsSrc = ['source.js']; |
NewerOlder