Giter Site home page Giter Site logo

bark-park's Introduction

Bark-Park

React app to help you and your dogs check-out local dog parks and make new friends!

LIVE DEMO

Mac OSX Prerequisites

  1. Make sure xcode is up to date.

    xcode-select --install
    
  2. Install Homebrew

     ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
  3. This project uses Ruby 2.3.3, which is best installed through rbenv.

    brew install rbenv
    
    brew install ruby-build
    
    rbenv install 2.3.3
    rbenv global 2.3.3
    

    ⚠️ If you see an error when trying to install Ruby, something along the lines of:

    ERROR: Ruby install aborted due to missing extensions Try the following line to install Ruby 2.3.3

    RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl" rbenv install 2.3.3
    

    At this point, you want to restart your terminal to ensure everything takes effect.

  4. Install RSpec for testing

    gem install rspec
    

    Restart terminal again.

    ⚠️ Important note: You should NEVER need to sudo gem install ___ anything. If you get a permission issue, that means your system isn't using the rbenv/rvm version of rubygems.

  5. Install Postgres Database

    brew install postgres
    
  6. Create a physical postgresql database

    initdb /usr/local/var/postgres
    

    You can start and stop the database with the following commands. These are nice to create as an alias within your .bash_profile

    pg_ctl -D /usr/local/var/postgres start
    pg_ctl -D /usr/local/var/postgres stop
    

Getting the app started

  1. Clone this repo

  2. Run bundle install

  3. Run rake db:create

  4. Run rake db:migrate

  5. Run rake db:seed

  6. Install JavaScript Dependencies in client/src. You're welcome to use Yarn or NPM

  7. Run rake start

  8. Open your browser to localhost:5000

Contributing

For more information on how to contribute to this project, please visit: https://github.com/katleiahramos/Bark-Park/blob/master/contributing.md Bug reports and pull requests are welcome on GitHub at https://github.com/katleiahramos/Bark-Park

License

The project is available as open source under the terms of the MIT LICENSE

bark-park's People

Contributors

katleiahramos avatar mintii avatar sourcediz 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.