- Install Docker
- Post Install Linux
- Install Docker Compose
- Install Yarn
The Rest of the tools will run from inside the containers.
git clone https://github.com/grupotesseract/seus-direitos-webapi.git
cd seus-direitos-webapi
# Start Vessel and prepare the environment:
cp .env.example .env
./vessel start
./vessel composer install
./vessel artisan key:generate
./vessel artisan migrate --seed
# Prepare de Assets
yarn install
yarn run watch
Access http://localhost
Alternative - Laradock
# Stop Containers:
docker stop $(docker ps -a -q)
# Remove Containers:
docker rm $(docker ps -a -q)
# Remove Volumes:
docker volume rm $(docker volume ls -qf dangling=true)
# Remove all Images:
docker rmi $(docker images -a -q)
sudo apt-get remove --purge apache2 mysql-server phpmyadmin
sudo apt autoremove
# Show ports in use:
netstat -antup
# Free the ports you need, example:
sudo fuser -k local_address/protocol
sudo fuser -k 80/tcp6