Home - SeshuVarma/websys GitHub Wiki

Deploy a sample Photosite Rails Application to AWS via Docker

In this project, we will create a Ruby on Rails application that implements only a part of a Photo Sharing site specifically only the comments section with data that already entered into a SQL-Lite database.

1. Youtube Walkthrough

YouTube urls

2. Develop the Photosite app with the image files stored in AWS S3 services.

* All the necessary data related to the photosite application should be stored under the SQL-Lite database. Configure the rails application and make 
  sure it is connected to the database successfully. The core logic needs to be implemented.
* Host Images on Amazon S3 and access the image using a generated public link in code.
* Steps to host the images on S3 are listed below:

i. Create S3 Bucket

Click Create Bucket, enter the name of the bucket, and choose Region: US Standard

Image not displayed

ii. Upload files to the S3 Bucket

Once created, click on the bucket name in the list on the left and then click Upload on the next screen

iii. Get the public link of an object(image) from an S3 bucket in the following way:

In the Name list, select the checkbox next to the object you want to get the public link, and then copy the link on the object description page that appears.

Once everything is in place run the application and verify it by hitting the URL http://localhost:3000/. It should display an inventory of all users within the database. The user names must be links and by clicking on a user name should display the photos for that user.