Cross Reference:
xref
: /
ontohub
/
config
/
initializers
/
repositories.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
repositories.rb revision bf6c05c907ec4f3259b7f112e02901ade59d326e
if
Rails.env.test
?
Ontohub
::
Application.config.git
_root
=
"#{
Rails.root
}/
tmp
/
repositories
"
Ontohub
::
Application.config.git
_working_copies_root
=
"#{
Rails.root
}/
tmp
/
repositories_working_copies
"
else
Ontohub
::
Application.config.git
_root
=
"#{
Rails.root
}/
public
/
repositories
"
Ontohub
::
Application.config.git
_working_copies_root
=
"#{
Rails.root
}/
data
/
repositories_working_copies
"
Ontohub
::
Application.config.git
_home
=
File.join
(
Rails.root
,
'tmp'
,
'git'
)
if
Rails.env.production
?
Ontohub
::
Application.config.git
_home
=
"/
srv
/
git
/"
end
end
Ontohub
::
Application.config.max
_read_filesize
=
512
*
1024