Coder Social home page Coder Social logo

artist's Introduction

#artist Final project for General Assembly's Web Development Immersive program, McClane cohort (New York City, February - May 2015)

##Overview

This app allows an admin to publish a website for an artist.

The server is built in Rails 4, using a Postgres database.

The site uses standard Rails 4 conventions and templates for both the public-facing and admin sections.

##Demo

Demo using the artist Ruth Root's work: http://ruthroot.herokuapp.com

##Configuration & Deployment

The artist's name is stored in an "artist.yml" file which is loaded by the "artist_info.rb" initializer. All other data is handled through normal ActiveRecord models.

Admin users are expected to be added via the console.

The site assumes that images are stored remotely.

Image URL details and all other data may be added by admin users through the admin section of the site.

The following steps have been tested:

  1. Deploy to Heroku
  2. Attach Postgresql db to Heroku instance
  3. Add Postgresql 'color' to Heroku config
  4. Follow standard Heroku steps to start Rails server

##Front-end

As developed this is a "read-only" site from the perspective of the end-user. Users cannot create accounts or persist state between sessions.

Admin users can perform CRUD operations on artworks, exhibitions, venues and artwork images.

Artist details are treated as website configuration data, not content, and are supplied via a YML file.

CSS for the user interface is organized using Foundation.

##Database

The data model for this app assumes a one-to-many relationship between artworks and exhibitions, and also assumes that a single artist has created all the artworks represented. Of course the schema may need to be adjusted to fit different use cases (retrospectives, joint projects, etc.)

The current app is written to use the Postgresql database, given that the demo is hosted on Heroku; however, no special Postgres features are used and it should be straightforward to tell ActiveRecord to use MySQL if you prefer.

##Miscellaneous

artist's People

Contributors

nbutter avatar

Watchers

Anthony DeFreitas avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.