Posts by Samuel Gomes • 139 points
5 posts
-
1
votes2
answers652
viewsQ: Docker with React, refresh the updates without having to upload the container again
I created an application in React and decided to run it with Docker locally, only for development At Dockerfile it was like this: FROM node:8 WORKDIR /usr/src/app COPY package*.json ./ RUN npm…
-
2
votes1
answer1568
viewsQ: Docker - Mysql + PHP error when connecting with mysql
I’m learning a little about Docker, but I had some problems connecting with Mysql. Follow the file Docker-Compose.yml php: build: . ports: - "8082:80" volumes: - ./www:/var/www/html links: - db db:…
-
7
votes1
answer98
viewsQ: Git, Doubt when I commit
I have a question when using git, and would like your help. I have the following situation: I’m developing a new feature in my application, but I haven’t completed it. Let’s assume I’m developing it…
-
1
votes1
answer106
viewsQ: Laravel Unit Tests. I can’t instantiate the class
my problem apparently is simple but I can not solve. I decided to do tests on my application, and at first I had problems I run the following command line to run the test: vendor/bin/phpunit In the…
-
1
votes1
answer241
viewsQ: Creating a custom domain for customers like Icasei does
I created a system that generates a website for the customer, such as ICase. Example: www.meusite.com.br/cliente1 www.meusite.com.br/cliente2 www.meusite.com.br/cliente3 www.meusite.com.br/cliente4…