Skip to content

templates-back4app/containers-ruby-rails-template

Repository files navigation

Back4app Containers - Ruby on Rails Application

This is a simple Ruby on Rails application that has been configured to run on Back4app Containers. It serves a welcome page when accessed via a web browser.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • You should have Ruby and Rails installed on your local machine.
  • Install Docker if you want to build and run the Docker container locally.

Installing

  1. Clone this repository:
git clone https://github.com/templates-back4app/containers-ruby-rails-app.git
cd containers-ruby-rails-app
  1. Install the project dependencies:
bundle install
  1. Start the development server:
rails server

Open http://localhost:3000 to view it in the browser.

Building a Docker Image

To build a Docker image of the application, run the following command:

docker build -t containers-ruby-rails-app .

Running the Docker Container

To run the Docker container, use the following command:

docker run -p 8080:3000 containers-ruby-rails-app

Now, the app is running at http://localhost:8080

Deployment

The project can be deployed on Back4app Containers. Refer to the Back4app Documentation for more information.

Built With

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published