A test task: create an app for artworks using Rails and VueJS.
To find out how VueJS works in a Rails app.
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.
- Ruby 2.2.4
- Node and npm
- imagemagick for paperclip attachments:
$ sudo apt-get install imagemagick libmagickwand-dev
$ 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
.
$ bundle exec rails server
This will launch a Thin instance at http://localhost:3000 for you.