I hereby claim:
- I am jasonmccay on github.
- I am jasonmccay (https://keybase.io/jasonmccay) on keybase.
- I have a public key whose fingerprint is 5886 FE38 3715 07E3 45D4 ABC4 3AAE B861 0B72 064B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
development: | |
# Configure available database sessions. (required) | |
sessions: | |
# Defines the default session. (required) | |
default: | |
# Defines the name of the default database that Mongoid can connect to. | |
# (required). | |
database: the_guide_development | |
# Provides the hosts the default session can connect to. Must be an array | |
# of host:port pairs. (required) |
:markdown
MongoHQ is the fastest and easiest way to create a MongoDB database to use with your application. Our goal is to allow developers to focus on what they do best while we keep your database fast, optimized and reliable. It takes less than 30 seconds to sign up and create a MongoDB database.
For NodeKnockout, we have available 512MB plans in multiple data centers. Simply sign up and create a database and you will have full access to our industry-leading tools and a friendly and intelligent support team. We're excited to see what you build ... Good luck!
<!-- PHP Mongo Docs: http://php.net/manual/en/class.mongodb.php --> | |
<html> | |
<body> | |
<h1>MongoHQ Test</h1> | |
<?php | |
try { | |
// connect to MongoHQ assuming your MONGOHQ_URL environment | |
// variable contains the connection string | |
$connection_url = getenv("MONGOHQ_URL"); |
heroku config:add MONGOHQ_URL=mongodb://user:pass@servername.mongohq.com:port_name/db_name |
export MONGOHQ_URL=mongodb://user:pass@server.mongohq.com/db_name |
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets", | |
"s3:ListBucket" | |
], | |
"Resource": "arn:aws:s3:::*" | |
}, |
## Example of MongoImport Used to Import Data into a MongoHQ Database ## | |
mongoimport -h staff.mongohq.com --port 10097 -d import_example -c football_players -u mongohq -p****** --type csv --file ~/Desktop/football_players.csv --headerline |
## CSV File Example for MongoImport into a MongoHQ database | |
First Name,Last Name,Age,Position,Experience | |
Cameron,Newton,22,QB,Rookie | |
Darren,McFadden,24,RB,4yr | |
Mike,Pouncey,22,C,Rookie |
run: | |
system.indexes | |
system.users | |
BUILD SUCCESSFUL (total time: 1 second) |