Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CocoaPods/cocoapods.org
That website https://cocoapods.org/ - pretty useful
https://github.com/CocoaPods/cocoapods.org
Last synced: 3 months ago
JSON representation
That website https://cocoapods.org/ - pretty useful
- Host: GitHub
- URL: https://github.com/CocoaPods/cocoapods.org
- Owner: CocoaPods
- Created: 2013-11-01T17:58:29.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-24T18:39:29.000Z (11 months ago)
- Last Synced: 2024-04-15T11:58:14.582Z (7 months ago)
- Language: Slim
- Homepage:
- Size: 4.82 MB
- Stars: 53
- Watchers: 9
- Forks: 47
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cocoapods.org
## Setup
Ideally this website should be run through a sub-folder of [Strata](https://github.com/CocoaPods/Strata).
1. Clone a copy of [Strata](https://github.com/CocoaPods/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](https://github.com/cocoapods/cocoapods.org/issues/new) 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](http://slim-lang.com) as a templating language, and [flounder](https://bitbucket.org/technologyastronauts/oss_flounder/) as our ORM against the trunk database.
A lot of the logic around search is based on work from [@floere](https://github.com/floere) in [picky](http://pickyrb.com). All of the CocoaPods-specific parts of search are in [search.config.js](https://github.com/CocoaPods/cocoapods.org/blob/master/assets/javascripts/search.config.js).