Skip to content

victorpolko/ArtFinder-Rails-VueJS

Repository files navigation

Rails application for art collections

What?

A test task: create an app for artworks using Rails and VueJS.

Why?

To find out how VueJS works in a Rails app.

Where?

I managed to deploy it to Heroku so the results are all here. Heroku doesn't work well with pictures served from Asset Pipeline, so no pictures, sorry.


Setup

Prerequisites

  • Ruby 2.2.4
  • Node and npm
  • imagemagick for paperclip attachments:
$ sudo apt-get install imagemagick libmagickwand-dev

Install

$ bin/setup

This will install gems and npm packages, create database.yml file for you and will fail at creating the DB. You will have to change the database.yml and then rerun bin/setup.

Run

$ bundle exec rails server

This will launch a Thin instance at http://localhost:3000 for you.