Skip to content

grupotesseract/seus-direitos-webapi

Repository files navigation

Seus Direitos WebAPI

Requirements

The Rest of the tools will run from inside the containers.

Clone the repository

git clone https://github.com/grupotesseract/seus-direitos-webapi.git
cd seus-direitos-webapi

Setup

# 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

Troubleshooting

In case of Docker errors

# 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)

In case you need to unistall LAMP

sudo apt-get remove --purge apache2 mysql-server phpmyadmin

sudo apt autoremove

In case of port errors

# Show ports in use:
netstat -antup

# Free the ports you need, example:
sudo fuser -k local_address/protocol
sudo fuser -k 80/tcp6

About

Projeto Seus Direitos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages