Giter Site home page Giter Site logo

ecommerce's Introduction

Ecommerce App on Ruby on Rails

Ruby on Rails, also known as RoR or Rails, is an open source web application framework written in the Ruby programming language, following the Model View Controller (MVC) pattern paradigm.


Developer Site and company site


Table of contents

Quick start

For the contribution to open source projects, a few simple steps must be followed that work the successful interaction between developers and an organized work flow; The steps to follow are detailed below.

Several quick start options are available:

  1. Fork of the source repository:
  • To do this, go to your github account.
  • Locate the repository in which you are going to collaborate.
  • In the upper right corner, locate the fork icon and click on it.
  • This makes an exact copy of the repository in the profile of the contributing user.
  1. Clone the repository:
  • Once the Fork is made, the forked repository must be cloned, with the following Command:
  • git clone https://github.com/afleones/Ecommerce.git
    
  1. Enter the cloned folder:
  • cd Ecommerce
    
  1. Check connections to remote sources:
  • git remote -v 
    
  1. Add a remote connection to the original repository:
  • git remote add upstream https://github.com/afleones/Ecommerce.git  (forked)
    
  1. Optional, rename the remote connection. In order to avoid confusion, in the previous step a local connection was created with the original repository named upstream, this
    name can be changed to a more personalized one with the following command:
  • git remote rename origin fork
    

We already have a copy of the original repository, now we will work on the daily workflow.

Bugs and feature requests

Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.

Contributing

  1. First of all update local main branch with latest changes, with the command: git pull -r (name of remote source) main
  2. We create the requirement or functionality, in the workflow tool, trello or github issues (our github)
  3. Optional we create a branch for the development of the issue.
  4. We work and complete the tasks.
  5. We run:
  •  git status 
    
    and check the files that have undergone changes.
  1. We run:
  •  git add . 
    
    and we add all the changes to the stash.
  1. We commit the changes with:
  •  git commit -m "Here the commit title"
    
  1. We carry out a push to our repository with:
  •  git push origin main
    
  1. (Taking into account that the romoto of our repository is called origin and the branch to which we are going to send the work is called master). 10.We go to the github page and enter our repository. 11.We create a new pull request, which is sent to the original repository.

Dependencies

  • Ruby version: 2.7.1
  • Rails version:6.1.3
  • Postgres Adapter:
  • The first step is to make sure you use Postgres, so specify this when cloning the application:
    1. In your Gemfile add the PostGIS ActiveRecord adapter:
  •  gem 'activerecord-postgis-adapter'
    
    1. use it in your config/database.yml:
      change the adapter from postgresql to postgis, Example: adapter: postgis
    2. add the PostGIS extension:
  •  rails db:gis:setup
    

Creators

Andres Leones

Copyright and license

Code and documentation copyright 2021 the Author

ecommerce's People

Contributors

afleones avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

ramiro1985

ecommerce's Issues

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.