• This repository has been archived on 05/Jul/2023
  • Stars
    star
    1,452
  • Rank 32,405 (Top 0.7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 13 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The single-file MongoDB admin app

Genghis

The single-file MongoDB admin app, by Justin Hileman.

Build Status Dependency Status

Genghis

There are more ways to run Genghis than you can shake a stick at

Standalone

If you installed Genghis as a Ruby gem, running Genghis standalone is easy:

$ genghisapp

Now that it's running, you can use genghisapp --kill to stop it.

Windows users: Due to this bug Genghis always runs in foreground mode.

If you didn't go the gem route, you can still run genghis.rb standalone:

$ ruby genghis.rb

genghis.php can also be run as a PHP 5.4 CLI SAPI standalone server:

$ php -S localhost:8000 genghis.php

In your LAMP stack

Simply drop genghis.php in a web-accessible directory on a LAMP server. Don't forget .htaccess for pretty URLs!

With nginx and PHP-fpm (and friends)

You'll need some fancy config action, but it's fairly straightforward.

In an existing Rack app

For a super basic Rack config, use a config.ru file like this:

require 'genghis'

run Genghis::Server

If you want to load Genghis on a subpath, possibly alongside other apps, it's easy to do with Rack's URLMap:

require 'genghis'

run Rack::URLMap.new \
  '/'        => Your::App.new,
  '/genghis' => Genghis::Server.new

With Rails 3

You can even mount Genghis on a subpath in your existing Rails 3 app by adding require 'genghis' to the top of your routes file (or in an initializer) and then adding this to routes.rb:

mount Genghis::Server.new, :at => '/genghis'

Genghis Dependencies

PHP

You will need at least PHP 5.2 and the PECL MongoDB driver.

Ruby

Genghis requires Ruby 1.8 or awesomer.

The easiest way to install Genghis and all dependencies is via RubyGems:

$ gem install genghisapp

Or you could check out a local copy of the Git repo and install dependencies via Bundler:

$ gem install bundler
$ bundle install

Configuration

Check the Genghis wiki for additional configuration information.

License

Genghis uses a number of amazing open source libraries, distributed under the following licenses

More Repositories

1

psysh

A REPL for PHP
PHP
9,637
star
2

mustache.php

A Mustache implementation in PHP.
PHP
3,202
star
3

git-flow-completion

Bash, Zsh and fish completion support for git-flow.
Shell
2,783
star
4

Ruler

A simple stateless production rules engine for modern PHP
PHP
1,025
star
5

Faker

The easiest way to generate fake data in PHP.
PHP
187
star
6

solarized-seestyle

A precision color scheme for Coda and SubEthaEdit with light and dark modes
99
star
7

Mustache.mode

Mustache syntax mode for Coda and SubEthaEdit.
HTML
90
star
8

coda-cli

Makes Panic's Coda a first-class *nix citizen
Python
53
star
9

vagrant-mongobox

A simple little Vagrant box for running MongoDB
Puppet
51
star
10

Markdown.mode

A Markdown syntax mode file for Coda and SubEthaEdit.
40
star
11

Population

A simpler way to populate your Doctrine 2 databases.
PHP
37
star
12

coda-modes

A curated collection of syntax modes for Coda and SubEthaEdit.
35
star
13

Twig-HTML.mode

A Twig syntax mode for Coda and SubEthaEdit.
30
star
14

PHP-HTML.mode

A fork of Coda 1.x's PHP-HTML syntax mode. Doesn't work with 2.x :(
Perl
22
star
15

launchctl-completion

Bash completion support for OS X launchctl.
Shell
19
star
16

BobthecowMustacheBundle

Symfony2 + mustaches.
PHP
17
star
17

googlecl-completion

Bash completion support for googlecl.
Shell
15
star
18

copyonclick

A copyOnClick plugin for jQuery.
JavaScript
14
star
19

mustache-silex-provider

Mustache integration for the Silex application micro-framework.
PHP
14
star
20

GitX.codaplugin

This Coda plugin integrates Coda with GitX.
13
star
21

codaclips

A simple import/export script for Coda clips.
Shell
12
star
22

sublime-sniptastic

A quick and dirty snippet palette for Sublime Text 2.
Python
12
star
23

apprise-bootstrap

Stylish alerts for a Bootstrapped web.
JavaScript
11
star
24

heroku-buildpack-nanoc

ApacheConf
8
star
25

Twig-JavaScript.mode

A Twig (+JavaScript) syntax mode for Coda and SubEthaEdit.
7
star
26

CodaDocblock

Generate PHP Docblocks like magick!
Python
7
star
27

Gity.codaplugin

This Coda plugin integrates Coda with Gity, a sweet little Git client for OS X.
6
star
28

terminitor-completion

Bash completion support for terminitor.
Shell
6
star
29

forematter

The frontmatter-aware friend for your static site.
Ruby
6
star
30

ManipulateCoda

A text manipulation plug-in for Panic’s Coda
Python
5
star
31

homebrew-php

PHP formulae repo for Homebrew
Ruby
4
star
32

Twig-XML.mode

A Twig (+XML) syntax mode for Coda and SubEthaEdit.
4
star
33

genghisapp.com

This is the repo of the site of the app Genghis.
JavaScript
3
star
34

psysh.org

A website for a REPL for PHP
JavaScript
2
star
35

gist.codaplugin

Coda plugin utilizing gist.rb
2
star
36

psysh-mongodb

A MongoDB Plugin for PsySH
PHP
2
star