GithubHelp home page GithubHelp logo

pilgrimmemoirs / betsy-shipping Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ada-c6/betsy-shipping

0.0 1.0 0.0 13.81 MB

Petsy e-commerce website setup for integration with Shipping Service

Ruby 63.27% JavaScript 0.65% CoffeeScript 1.65% CSS 4.29% HTML 30.14%

betsy-shipping's Introduction

Petsy

Petsy is an e-commerce platform for people to buy and sell costumes for their pets. Anyone can become a custom critter clothier with Petsy, just sign up for an account and you can start selling your creations in minutes!

Development

Prerequisites

  • Ruby 2.3+
  • Rails 4
  • PostgreSQL (for production deployments)

Setup

Fork and clone the Petsy project to your computer and run the following commands to prepare for local development:

bundle install
bundle exec rake db:migrate
bundle exec rake db:seed

Next you'll need to configure any environment variables that are specified in the .env file. As the instructions mention within that file, please DO NOT commit any secret keys to .env -- the best thing is to place any environment variables specific to your application into .env.local, which will not be committed into Git.

Running the server

Once the setup steps have been completed you can get your local development server up and running at http://localhost:3000 by using the following command:

bundle exec rails server

Testing

Our unit test suite can be run with the following command. Please ensure that all of your tests are passing before submitting any pull requests!

bundle exec rake test

You can check the results of the code coverage tool by running (on MacOS):

open coverage/index.html

Deployment

These are the instructions for deploying this project to Heroku. Alternative deployment platforms will likely require different instructions.

  1. Create a new Heroku project
heroku create <app name>
  1. Push latest committed code to Heroku
git push heroku
  1. Migrate and seed the database
heroku run bundle exec rake db:schema:load
heroku run bundle exec rake db:seed
  1. Setup necessary environment variables
heroku config:set <VAR_NAME>=<value> <VAR2_NAME>=<value2> ...

Contributing

If you would like to contribute to the development of Petsy, first of all thank you! It's surprisingly hard to build, maintain, and operate your own e-commerce platform these days, and we rely heavily on volunteers for our core software infrastructure.

If you're a developer and would like to get involved with the project please follow the steps outlined above under Development, then open a pull request with any changes you would like to contribute!

If you're just a fan of Petsy or animal costumes in general and you've got an idea, suggestion, or have been experiencing trouble with our site please submit a GitHub issue and one of the core contributors to the project will check it out!

betsy-shipping's People

Contributors

abrown152 avatar dstorck avatar hamled avatar jnf avatar jweeber avatar kariabancroft 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.