mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Installer support tweaks
This commit is contained in:
parent
5d84b894b2
commit
a1f1b1b539
1 changed files with 1 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
puts "Paths: #{::GxG::SYSTEM_PATHS.inspect}"
|
|
||||||
# ### Mount Databases by role
|
# ### Mount Databases by role
|
||||||
if File.exists?("#{GxG::SYSTEM_PATHS[:configuration]}/databases.json")
|
if File.exists?("#{GxG::SYSTEM_PATHS[:configuration]}/databases.json")
|
||||||
handle = File.open("#{GxG::SYSTEM_PATHS[:configuration]}/databases.json", "rb")
|
handle = File.open("#{GxG::SYSTEM_PATHS[:configuration]}/databases.json", "rb")
|
||||||
|
|
@ -144,7 +143,7 @@ end
|
||||||
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:system]}), "/System")
|
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:system]}), "/System")
|
||||||
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:services]}), "/Services")
|
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:services]}), "/Services")
|
||||||
# User-Agent code goes in '/Applications'. Rename to '/Agents' ??
|
# User-Agent code goes in '/Applications'. Rename to '/Agents' ??
|
||||||
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:applications]}), "/Applications")
|
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:installers]}), "/Installers")
|
||||||
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:temporary]}), "/Temporary")
|
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:temporary]}), "/Temporary")
|
||||||
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:logs]}), "/Logs")
|
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:logs]}), "/Logs")
|
||||||
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:public]}), "/Public")
|
::GxG::VFS.mount(::GxG::Storage::Volume.new({:directory => ::GxG::SYSTEM_PATHS[:public]}), "/Public")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue