https://github.com/pc-magas/epignosis
Epignosis recruitment test.
https://github.com/pc-magas/epignosis
Last synced: 3 months ago
JSON representation
Epignosis recruitment test.
- Host: GitHub
- URL: https://github.com/pc-magas/epignosis
- Owner: pc-magas
- Created: 2023-06-12T17:05:48.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-20T07:11:45.000Z (almost 2 years ago)
- Last Synced: 2024-04-19T09:56:27.969Z (about 1 year ago)
- Language: PHP
- Size: 3.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VaccationMS
A simple vaccation management system for growing businesses> NOTE 1: this is a recruitment test for Epignosis https://www.epignosishq.com
> NOTE 2: If you have run first `docker exec -ti -u www-data epignosis_recruitment_php81 /bin/bash` you cann ommit the docker command ant is params.
# How to run
```
cp ./src/.env.local ./src/.env
docker-compose up -d
docker exec -ti -u www-data epignosis_recruitment_php81 composer install
```# Database Generation and Seeding
```
docker exec -ti -u www-data epignosis_recruitment_php81 ./vendor/bin/phinx migrate# At output you'll see the seeded users. Default password are 1234 (used in local development)
docker exec -ti -u www-data epignosis_recruitment_php81 ./vendor/bin/phinx seed:run
```# Unit tests
```
docker exec -ti -u www-data epignosis_recruitment_php81 ./vendor/bin/phinx migrate
```# APP URLs
The app is served via http://127.0.0.1:8080
Mailhog and all emails are listed upon http://127.0.0.1:8025 (test SMTP server web panel)