/aN9e-1-8t

My starter rails project

Primary LanguageRuby

Architecture Overview

Architecture Overview


Try Out Locally

  1. If you have Docker installed, you could follow Use Docker Compose instruction.
  2. If you have Minikuber installed, you could follow Use Minikube instruction.

Here is the preview:

Preview

Use Docker Compose

  1. Use Docker-Compose to deploy web, api-server, and db Docker containers locally on your machine.
$ docker-compose -f deploy-compose/DockerCompose.yml up -d
  1. Open website in your browser.

  2. Use Docker-Compose to take down the containers if you're done with testing.

$ docker-compose -f deploy-compose/DockerCompose.yml down

Use Minikube

Sorry, it's still WIP.


Directory Overview

.
├── backend
├── deploy-compose
└── frontend
  • backend/ is the Rails API server.
  • frontend/ is the NextJS web server.
  • deploy-compose/ contains the Docker-compose file for local deployment (for test or debug)