YAML (markup)

By Xah Lee. Date: . Last updated: .

What is YAML

Example

Sample YAML file, used by Google App Engine.

application: helloworld
version: 1
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /.*
  script: helloworld.app

another example, for setting up mongodb.

development:
  sessions:
    default:
      database: xyz_dev
      hosts:
        - localhost:27017

production:
  sessions:
    default:
      database: xyz_prod
      hosts:
        - localhost:27017
      username: <%= ENV['MONGOID_USERNAME'] %>
      password: <%= ENV['MONGOID_PASSWORD'] %>

zoomer markups