GithubHelp home page GithubHelp logo

marcokumu / gallery Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.09 MB

Digital Art Gallery

Home Page: https://gallery-rails-app.herokuapp.com/

License: Other

Ruby 48.12% Procfile 0.07% HTML 2.54% CSS 14.53% JavaScript 34.74%

gallery's Introduction

ART GALLERY APP

This app provides a platform for art enthusiasts; a place where artists from different parts of the country get to post their art for public viewing. This site also enables artists to see their colleagues' work. The art pieces posted have a name, short description and their estimated value.

AUTHOR

ART GALLERY DELIVERABLES

This is an SPA (Single Page Application) that has been built with certain objectives in mind. Some of the objectives include:

1.New users are able to signup to the site.

2.Users are able to login to the site after signing up.

3.Users can logout.

4.The user has their own profile where they can see the pieces of art they own.

5.The user is able to view art from different artists.

6.The user can delete their own profile if/when they like.

7.The user can add art pieces to the different galleries.

8.The user can view each individual art piece.

9.The user can edit the details of each art piece that they posted.

10.The user can delete any art piece they posted if/when they like.

TECHNOLOGIES USED

1.RUBY ON RAILS

2.REACTjs

3.Postgresql

4.CSS

5.HEROKU

Alt text Alt text

LIVE LINK

Here is the project's live link:
https://gallery-rails-app.herokuapp.com/

Requirements

  • Ruby 2.7.4
  • NodeJS (v16), and npm
  • Heroku CLI
  • Postgresql

Clone the Github repository:

$ git clone [email protected]:marcokumu/Gallery.git

When you're ready to start checking out project, run:

bundle install
rails db:create
npm install --prefix client

You can use the following commands to run the application:

Troubleshooting

If you ran into any errors along the way, here are some things you can try to troubleshoot:

  • If you're on a Mac and got a server connection error when you tried to run rails db:create, one option for solving this problem for Mac users is to install the Postgres app. To do this, first uninstall postgresql by running brew remove postgresql. Next, download the app from the [Postgres downloads page][postgres downloads page] and install it. Launch the app and click "Initialize" to create a new server. You should now be able to run rails db:create.

  • If you're using WSL and got the following error running rails db:create:

    PG::ConnectionBad: FATAL:  role "yourusername" does not exist

    The issue is that you did not create a role in Postgres for the default user account. Check this video for one possible fix.

  • If your app failed to deploy at the build stage, make sure your local environment is set up correctly by following the steps at the beginning of this lesson. Check that you have the latest versions of Ruby and Bundler, and ensure that Postgresql was installed successfully.

  • If you deployed successfully, but you ran into issues when you visited the site, make sure you migrated and seeded the database. Also, make sure that your application works locally and try to debug any issues on your local machine before re-deploying. You can also check the logs on the server by running heroku logs.

CONTRIBUTING

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

LICENSE

[MIT]

APM

gallery's People

Contributors

ihollander avatar lizbur10 avatar marcokumu avatar

Watchers

 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.