GithubHelp home page GithubHelp logo

dickdavis / photog-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 288 KB

A web app that empower photographers to manage clients, book sessions, publish blog posts, maintain portfolio, and provide deliverables to clients through galleries.

License: GNU General Public License v3.0

Ruby 56.60% JavaScript 2.22% SCSS 14.47% Haml 23.28% HTML 3.44%
ruby ruby-on-rails

photog-app's Introduction

Photog-App

Table of Contents

  • About
  • Getting started
    • Installation
    • Usage
  • Contributing
    • Code Style
    • Documentation
    • Testing
  • TODO

About

This project is a platform for session photographers written in Ruby. You can use this platform to manage clients, book sessions, publish blog posts, maintain portfolio, and provide deliverables to clients through galleries.

Getting Started

Installation

To install, fork the repo and execute:

git clone [YOUR REPO URL HERE]
cd photog-app
bundle

Then, create the .env file and enable user signup.

ALLOW_SIGNUP=true

Create the database and run the migrations (note: you must have postgresql installed on your local machine.)

rails db:create
rails db:migrate

To signup, fire up the server and navigate to http://localhost:3000/sign_up (the link is not displayed anywhere, so you'll need to manually enter the URL any time you need to signup a user). You can disable signup through the .env file in your development environment or through the ALLOW_SIGNUP environment variable in your production environment.

Usage

Usage instructions will be published as features are rolled out.

Contributing

Code Style

To keep a consistent code style, it is recommended to use rubocop. If you use vim and syntastic, you can use rubocop as a Ruby checker. To manually run rubocop, you can run the following commands:

# Run rubocop for the entire project
bundle exec rubocop
# Run rubocop for a specific file
bundle exec rubocop foo/bar.rb

Documentation

Comment any code contributions according to the existing conventions within the project. Reference the examples listed below:

Example top-level comment:

##
# = ClassNameGoesHere
# Author::    Richard Davis (+/- individual contributors)
# Copyright:: Copyright 2017 Mushaka Solutions
# License::   GNU Public License 3
#
# This is a class that is something and does something.

Example method comment:

##
# This is a method that does something

Documentation can be generated using custom rake task. For more information on RDoc, go here.

# Run custom rake task to regenerate RDoc documentation
rake rdoc

Testing

Integration tests should be written for all classes and methods. The test suite can be run manually bundle exec rake test.

TODO

  • Everything.

photog-app's People

Watchers

James Cloos avatar Dick Davis 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.