Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

TSchuermans/todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO app setup (OSX)

1. setup hosts file

echo "127.0.0.1 todo.app" | sudo tee -a /etc/hosts

2. setup docker

# install docker if necessary
brew update
brew tap caskroom/cask
brew cask install docker
brew cleanup 

# when docker is installed
docker-compose up --build --detach

3. relax

the php container waits on mariadb to be available (it might take a while).
use docker-compose logs -f to check on progress

4. setup self-signed certificate

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain docker/nginx/ssl/todo.app.crt

5. run grumphp

docker exec -it todo_app_php /bin/bash -c "./bin/grumphp run"

6. run tests

docker exec -it todo_app_php /bin/bash -c "./bin/phpunit"

7. try it out

https://todo.app:8443

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published