To get a local copy up and running follow these simple example steps.
- Docker - an open platform for developing, shipping, and running applications.
- Clone the repo
git clone https://github.com/dphong1995/shorten_url_mono.git
- Start containers
docker-compose up
- Start containers
docker-compose up
- Prepare test db
docker-compose exec be rails db:reset db:prepare RAILS_ENV=test
- Run test
docker-compose exec be rails test
- Use service cluster (k8s, ecs) and load balancer to deploy the container.
- Use database cluster.
- Use redis for caching.