Coder Social home page Coder Social logo

ey-docs's Introduction

The Engine Yard Docs

This repo holds all the content (and other bits) for the Engine Yard docs, located at EY Docs.

The inspiration of this method of documentation came from the awesome guys at Basho who have the Basho Wiki setup with Gollum.

We are using Gollum and Gollum-Site to generate the documentation. Gollum is a great piece of open source software released by the GitHub team that lets you maintain and build wikis from the contents of a Git repo.

gollum-site generates html from pages written in any format supported by Gollum (ASCIIDoc, Creole, Markdown, Textile, etc.).

## How to Contribute

Part of the reason we switched to Gollum and GitHub for the EY Docs was to make it easier for people to contribute. Just treat it like a code repo: If you have anything to change or add, simply:

  1. Fork this repo

  2. Build a local copy

  3. Create a new Branch:

     git checkout -b <branch-name>
    
  4. Add your changes

  5. Commit changes to your branch

  6. Send us a pull request

If it's a small or obvious change, we're likely to merge it right away. If we have questions, we'll communicate with you using the pull request's issue page.

The Gollum README provides a great introduction to using the wiki system.

## Building the Docs Locally

If you want to build and view the EY Docs locally, here is what you need to do:

  1. Clone this repo:

     git clone git://github.com/engineyard/ey-docs.git
    
  2. Ensure that you have Bundler installed:

     gem install bundler
    
  3. Install all pre-requisite gems:

     bundle install
    
  4. Generate the site and start a local server (This will take a minute. Don't fret.)

     bundle exec rake generate   # Will generate the files
     bundle exec rake serve      # Will start the gollum-site server
    

    bundle exec rake dev # Generate and run the gollum site in development mode

  5. Navigate to http://localhost:3011/Home.html (Default) to access a fully-functional copy of the EY Docs.

Sanitization

You can customize sanitization with three options:

  • --allow_elements: custom elements allowed, comma separated

  • --allow_attributes: custom attributes allowed, comma separated

  • --allow_protocols: custom protocols in href allowed, comma separated

     `$ gollum-site generate --allow_elements embed,object --allow_attributes src --allow_protocols irc`
    
## Issues, Questions, Comments, Etc.

ey-docs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ey-docs's Issues

Add 404 Page

In case people try to access a page that doesn't exist anymore.

404 Not Found nginx/0.7.65

Hi,

I am getting "404 Not Found nginx/0.7.65" error at the time of deploy my application. whats the solution for this problem?

Loading yml data - using yaml_db gem

Hello,

I am attempting to use the yaml_db gem to load data I exported locally. (btw if there's a better alternate to doing this let me know).

I successfully deploy and run my rake db:migrate. But I cannot run

rake db:data:load

When I do I get this:

rake aborted!
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/serialization_helper.rb:85:in `load_records'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/serialization_helper.rb:74:in `load_table'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/yaml_db.rb:63:in `block (2 levels) in load_documents'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/yaml_db.rb:61:in `each'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/yaml_db.rb:61:in `block in load_documents'
/usr/lib/ruby/1.9.1/syck.rb:235:in `call'
/usr/lib/ruby/1.9.1/syck.rb:235:in `load_documents'
/usr/lib/ruby/1.9.1/syck.rb:235:in `load_documents'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/yaml_db.rb:60:in `load_documents'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/serialization_helper.rb:57:in `block in load'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/serialization_helper.rb:56:in `load'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/serialization_helper.rb:31:in `load'
/data/spreecart/shared/bundled_gems/ruby/1.9.1/gems/yaml_db-0.2.1/lib/tasks/yaml_db_tasks.rake:35:in `block (3 levels) in <top (required)>'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in `block in execute'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `block (2 levels) in top_level'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in `block in top_level'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62:in `block in run'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/usr/lib/ruby/gems/1.9.1/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'
/usr/bin/rake:19:in `load'
/usr/bin/rake:19:in `<main>'
Tasks: TOP => db:data:load

Why setup ssmtp when using external smtp relay inside rails?

The only reason I can think you might want to use ssmtp is if you cron/other jobs running on the load machine and you want to relay those messages somewhere else. Other that that, if you're using something like sendgrid, why wouldnt' you just use :smtp deliver mode? Even in that case, it doesn't make sense to use :sendmail inside the rails app to me, you should just use :smtp.

Any ideas?

Move footnotes from technology stack page

We ported over the tech stage page, but we have the footnote references from the previous layout in the new one. We should remove the footnote references since we actually don't have footnotes up.

Update the Section on Keep files

Our documentation on using 'keep' files is very unclear. We need to highlight when it can be used, how it can be used, and what are the alternatives if it cannot be used for a file.

collaboration_info Page

docs.engineyard.com/collaboration_info.html needs to be corrected:

  • Missing images
  • Bulleted list under "Are there other caveats we should be aware of during the beta program?" isn't formatted correctly.

How to specify specific bundler version?

Currently we use bundler 1.0.10 during deployments. If a customer wants to use a specific version of bundler, they can add the following to their application Gemfile:

gem "bundler", "1.0.18"

Then ensure you've locked your Gemfile (updated your Gemfile.lock) before deployment.

Want to confirm it's picking up your alternate bundler version? Look in your deploy logs for "1.0.18"

Image Manipulation with CarrierWave

We are currently using CarrierWave for image uploading and resizing, what libraries are supported for resizing? I am currently using MiniMagick.

P.S. - We are hosting on the new JRuby platform.

MongoDB

Page about how to set it up with an AppCloud Account

More reasons for rebuilding-an-environment.html

Currently, we have the following:

"Why would you need to rebuild an environment?

When upgrading a Database Instance there is no way to "terminate" the separate DB instance."

We should also add:

  • You want to increase the size of your /data or /db volumes
  • You have a frozen/crashed app master instance in a cluster with only the one app instance (link to frozen-instances.html ?)
  • You have been advised of a degraded instance or maintenance window that requires a DB master or app master in a cluster with only one app instance

Sphinx packages / admin

I see the following are available to install under Unix packages:

app-accessibility/SphinxTrain
app-accessibility/sphinx2
app-misc/sphinx

Are there more details on these packages, ie. version? We have been using Sphinx 2.0.2 locally as 2.0.1 beta has known problems on OS/X. Also, do you have any recommended practices for Sphinx index and daemon tasks? Thanks.

Fixes to keep file list

Anal retentive changes to docs:

In the list "Files that can be keep files" on http://docs.engineyard.com/configuration-keep-files.html, change the following:

/etc/monit.d/#{name}#{appname}.monitrc --> /etc/monit.d/#{name}.#{appname}.monitrc

/etc/monit.d/unicorn_#{app.name}.monitrc --> /etc/monit.d/unicorn_#{appname}.monitrc

Also, group all the /etc/ together after all the /data/... items. I guess, I mean, sort the list alphabetically :)

Error 102: Optimistic locking failure

After a push, I get this error
Staging Application: ............Error 102: Optimistic locking failure

when I go to my homepage, I can see this one
VCAP ROUTER: 404 - DESTINATION NOT FOUND

'Node' hash in Chef recipes

On http://docs.engineyard.com/custom-chef-recipes.html, it would be useful if readers saw the keys in the 'node' hash that is available to every recipe. The Deploy Hooks API page (http://docs.engineyard.com/deploy_hooks_api.html) already has a section on how to obtain it:

"node(): Various information about the current instance and other instances in the environment. See /etc/chef/dna.json on an instance for an example of what node will return."

But for the sake of convenience, it would be nice if you had a reference page listing out all of the keys in dna.json.

Cronjobs on Utility server

Hi,

I'm having difficulty adding a custom cron job to our utility server. I've followed everything on this page:
http://docs.engineyard.com/adding-cron-jobs.html

This page says to add a new chef recipe to add the custom cron job specifically to the utility server.

Has anyone had experience doing this?

Below is the recipe:

if node[:name] == 'name_of_utility_server'
cron "centricity_checker" do
minute '*/05'
user 'deploy'
command "/data/app_name/current/lib/centricity_checker.rb >> /data/app_name/shared/log/centricity_checker.log"
end
end

Connecting MySQL Workbench to my hosted db

Since MySQL Query Browser is no longer available (replaced by MySQL Workbench), I can't seem to interpret correctly the data in each field of MySQL Workbench to connect to by EY database.

The fields are:
Connection Method: Standard TCP/IP over SSH

SSH Hostname - SSH server hostname, with optional port number
SSH Username - Name of the SSH user to connect with.
SSH Password - Password for the SSH tunnel.
SSH Key file - Path to SSH public key file.
MySQL Hostname - MySQL server host relative to the SSH server
MySQL Port - TCP/IP port of the MySQL server
Username - Name of the user to connect with.
Password - The MySQL user's password.
Default schema - The schema that will be used as default schema

Any ideas?

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.