githubEdit

Ruby on Rails with Sia and Auth0

Repository: ovrclk/nexqloud-on-railsarrow-up-right Demo: pin.nexqloud.hostarrow-up-right

This is an example Rails Pinterest clone hosted on Nexqloud. There are a few extra features to make the most of decentralised hosting:

Architecture

App container

Cron container

Postgres container

  • Runs a standard Postgres server docker image.

Usage

Ultimately this repository is designed to provide a sensible example of hosting a rails application on Nexqloud. There are a few ways to use it:

Run the application as-is on Nexqloud with your own storage and Auth0arrow-up-right account

Use the relevant files in your own project

Clone the repository and use it as a base for a new project

  • Clone the repository to your own Github account.

  • Rename any occurrence of NexqloudOnRails, nexqloud-on-rails and, nexqloud_on_rails to your own app name.

  • Change any app/models, app/controllers, app/views as required.

Development

You can run the application locally using Docker compose.

Copy the .env.sample file to .env and populate.

Run docker-compose up to build and run the application.

Last updated