Skip to content

yvalenta/file-versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Architecture description.


The server side of the file versioning application was developed with Ruby 2.2.3 and Rails 4.2.6

Is based on an initial model containing three tables:

  1. file_uploads: uploaded files will be stored here

  2. file_version: all the versions of the uploaded files will be here, referenced by the ‘file_upload_id` column

  3. comments: For the comments, a table with polymorphic associations was created for the uploaded files and this functionality will soon be added to the file versioning.

The current local storage used is mysql and it has an initial preview hosted storage heroku with PostgreSQL

Instructions to setup and run application.

  • Clone the repository

  • Open the project folder

  • In console type ‘bundle install`

  • Configure your database information in config/database.yml (user, password)

  • Then type ‘rails db:create` and `rails db:create`

  • Then Type ‘rails server` to go up the WEBrick server

Preview: file-versioning.herokuapp.com/

About

File versioning app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published