Giter Club home page Giter Club logo

cocoapods.org's Introduction

cocoapods.org

Setup

Ideally this website should be run through a sub-folder of Strata.

  1. Clone a copy of Strata and run rake clone. Or if you just want this website rake clone["cocoapods.org"].
  2. Run rake db:migrate in Strata to update the database to the latest version.
  3. Add a .env file with in CocoaPods.org ENVIRONMENT variables, see sample.env.

Alternatively, direct set up:

  1. git clone [email protected]:CocoaPods/cocoapods.org.git && cd cocoapods.org
  2. rake bootstrap

Running

  1. bundle exec rake serve

The server will run on http://localhost:3000

Things to note

  • Large scale design changes should be discussed in a new issue first.
  • By default the server will use the production search database in a development environment. This is so you don't have to run your own instance of search.

What is this?

This app is a Sinatra app. We use slim as a templating language, and flounder as our ORM against the trunk database.

A lot of the logic around search is based on work from @floere in picky. All of the CocoaPods-specific parts of search are in search.config.js.

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.