Guest User

Untitled

a guest
Feb 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.96 KB | None | 0 0
  1. # SPROUTCORE CONFIGURATION FILE
  2. # Use this file to customize the URLs, source and output paths and other
  3. # options used by the SproutCore build system to create the output for your
  4. # SproutCore applications.
  5.  
  6. # If you want to use the libraries provided by other gems, require those gems
  7. # here. SproutCore will automatically locate and load any bundles found in
  8. # your load path. The sproutcore gem is automatically loaded for you.
  9. #
  10. # require 'sproutcore'
  11.  
  12. # This configuration section will be applied to all bundles used by your
  13. # application, even bundles that come from other gems.
  14. config :all do |c|
  15.  
  16. # Name any other frameworks your bundles depend upon. The stylesheets and
  17. # JavaScript for required bundles will be loaded before your bundle on your
  18. # page.
  19. c[:required] = [:sproutcore]
  20.  
  21. # This string will be prepended before any URLs that reference JavaScript,
  22. # CSS or images in your files.
  23. c[:resources_at] = 'static'
  24.  
  25. # This string will be prepended before any index.html urls that actually
  26. # load your clients. Setting this to an empty string will mount all
  27. # of your clients at the root URL level.
  28. c[:index_at] = ''
  29.  
  30. # If you also need to load external stylesheets not managed by the bundle
  31. # system, name the URLs you want to reference here.
  32. # c[:stylesheet_libs] = ['/stylesheets/public.css']
  33.  
  34. # If you also need to load external javascripts not managed by the bundle
  35. # system, name the URLs you want to reference here. These will be loaded
  36. # automatically.
  37. # c[:javascript_libs] = ['/javascript/scriptaculous.js']
  38.  
  39. # This is the preferred language. When the user visits the root URL of
  40. # your client, this is the language they will get. When looking for a
  41. # resources (such as an image or stylesheet), SproutCore will also try
  42. # your preferred language .lproj if it cannot find the resource in the
  43. # current language.
  44. # c[:preferred_language] = :fr
  45.  
  46. # If you want to use a default root layout template other than the default
  47. # provided by SproutCore, you can specifiy the path name to the index.html
  48. # here. If you provide a relative path, SproutCore will assume the file
  49. # is relative to the root of this project.
  50. # c[:layout] = 'lib/index.rhtml'
  51.  
  52. # This is the fully qualified path to the directory you want all of your
  53. # static files stored in. You can place any files not managed by the build
  54. # system here. SproutCore will also save its cached resources here.
  55. # c[:public_root] = File.join(File.dirname(__FILE__), 'public')
  56.  
  57. # The default build mode. Normally you can specify this on the command
  58. # line as well using the -e option, but you can override the default
  59. # using this config as well.
  60. #c[:build_mode] = :production
  61.  
  62. # Name the build modes that you want JavaScript to be minified in. Normally
  63. # JavaScript is only minified in production. This only has effect if you
  64. # are also building composite javascript in the same mode.
  65. #c[:minify_javascript] = :production
  66.  
  67. # Name the build modes that you want your JavaScript to appear as a
  68. # composite file instead of the individual parts. This can be an array.
  69. #c[:combine_javascript] = :production
  70.  
  71. # Name the builds modes that you want you CSS to appear as compite files
  72. # instead of individual parts. This can be an array.
  73. #c[:combine_stylesheets] = :production
  74.  
  75. # Name the build modes that should include fixture data.
  76. #c[:include_fixtures] = :development
  77.  
  78. end
  79.  
  80. # Add configurations for specific bundles here as well. Any options you
  81. # provide here will override the defaults provided by the bundles themselves
  82. # as well as any options you place in the :all category above.
  83. #
  84. # config :contacts do |c|
  85. # c[:required] = [:sproutcore, :shared]
  86. # end
  87. #
  88.  
  89. config :MyValet do |c|
  90. c[:required] = [:sproutcore, :core]
  91. end
  92.  
  93. config :contacts do |c|
  94. c[:required] = [:sproutcore, :core]
  95. end
  96.  
  97.  
  98. proxy '/MyValet', :to => '192.168.2.23', :cookie_domain => '192.168.2.23'
Add Comment
Please, Sign In to add comment