Giter Site home page Giter Site logo

ahtee / socpods Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 73.59 MB

:headphones: A social website built with Rails, for AirPods users only.

Home Page: http://socpods.com

License: MIT License

Ruby 56.33% JavaScript 1.71% CSS 2.84% HTML 36.10% CoffeeScript 1.70% Dockerfile 1.31%
rails airpods docker javascript social-network

socpods's Introduction

SocialNetworker

Preview

preview

After cloning, run Bundler to install packages and dependencies:

cd social
bundle install

Ruby version

- ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]

System dependencies

Ruby, rails gem, bundler, sqlite3/mysql, rake, homebrew - brew install rbenv ruby-build mysql - gem install rails - bew install mysql

Setup

  • Clone the repo to your local machine.
  • Install mysql with Homebrew (mac) brew install mysql.
  • After installing the database, run the following command to start the mysql server: mysql.server start.
  • After cloning the repository, cd into social and run bundle install.
  • Install packages and dependencies, run bin/rails server to start the web server.
  • Stop the database with mysql.server stop.

Database creation

Database should be created locally with the rails setup. If you need to, run rake db:migrate to get the database to the latest version.

How to run the test suite

- `bin/rails server` or
- `rails server`
- Make sure the database is running, and run `rails test` to run the tests.

Services (job queues, cache servers, search engines, etc.)

Deployment instructions

  • Coming soon!

Issues running rails test or rails server

Sometimes rails will try to run tests off the previous process of spring. Use the command spring stop to stop the current process and run rails server|test again.

Issues with local environment

If you come across issues with running rails in your local env try:

  • brew install openssl && export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/
  • mysql.server restart
  • rails db:migrate:reset

Note: resetting the database will drop tables and delete users and re-seed the database with sample users. only do this on non-prod.

socpods's People

Contributors

dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.