Giter Site home page Giter Site logo

krausefx / cocoapods.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cocoapods/cocoapods.org

0.0 1.0 0.0 3.04 MB

That website https://cocoapods.org/ - pretty useful

Shell 0.08% JavaScript 25.62% Ruby 13.32% CSS 0.11% HTML 16.28% Slim 44.57% Procfile 0.02%

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.

cocoapods.org's People

Contributors

alisoftware avatar alloy avatar amorde avatar arr00 avatar dkhamsing avatar drazisil avatar endocrimes avatar esttorhe avatar fabiopelosin avatar floere avatar gib avatar haroenv avatar igor-makarov avatar joshkalpin avatar kleinlieu avatar kylef avatar lazerwalker avatar mrackwitz avatar mtitolo avatar neonichu avatar nwest avatar orta avatar rogeriopradoj avatar schukin avatar segiddins avatar squarefrog avatar taveras avatar tomdiggle avatar winny- avatar yas375 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.