- Rails 5.1.3 API with PostgreSQL database
- Angular 4.3.6 client
- Clone the repository:
git clone https://github.com/Bramvanosta/Booking-System.git
- Build and launch the docker containers:
docker-compose up -d
- Prepare the environments:
./scripts/installDevelopment.sh
- Point the container's IP address to the right hosts by adding these three lines to the
/etc/hosts
file:127.0.0.1 api.booking-system.dev 127.0.0.1 booking-system.dev
- You can now access the following urls:
- api.booking-system.dev for the Rails API
- booking-system.dev:4200 for the Angular client with live reloading