EPrints Technical Mailing List Archive
Message: #05628
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Copy live EPrints to staging server
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Copy live EPrints to staging server
- From: Adam Field <Adam.Field@jisc.ac.uk>
- Date: Wed, 27 Apr 2016 11:57:53 +0000
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of alen vodopijevec <alen@irb.hr>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Date: Wednesday, 27 April 2016 11:42 To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Subject: Re: [EP-tech] Copy live EPrints to staging server Hi!
Well, I assume that you don't need fresh data all the time, so database
could be imported once, and occasionally re-imported.
We have git initialized in ~/archives/ARCHIVE_NAME/ directory
In .gitignore
--
var/
documents/
html/
cfg/cfg.d/10_core.pl
cfg/cfg.d/20_baseurls.pl
cfg/cfg.d/database.pl
And those cfg.d files copied eg. 10_core.pl.dist etc..
So we can keep different environments for dev and prod.
Also, there is a central repository (bitbucket) and we are pushing and
pulling :)
We are still testing it so if someone has a tip please comment :)
Best,
--
Alen Vodopijevec
Odsjek za informacijske tehnologije
Centar za znanstvene informacije
Institut Ruđer Bošković
------------------------------------------------
IT Section
Centre for Scientific Information
Rudjer Boskovic Institute
------------------------------------------------
Addr: Bijenicka cesta 54, Zagreb, HR
Email: alen@irb.hr
Web: www.lib.irb.hr | www.irb.hr
Tel: + 385 1 4560 929, x1243
Mob: + 385 98 584 045
Skype: vodopijevec
GTalk: alen.vodopijevec
On 04/27/2016 12:21 PM, Andrew Beeken wrote:
--
Alen Vodopijevec
Odsjek za informacijske tehnologije
Centar za znanstvene informacije
Institut Ruđer Bošković
------------------------------------------------
IT Section
Centre for Scientific Information
Rudjer Boskovic Institute
------------------------------------------------
Addr: Bijenicka cesta 54, Zagreb, HR
Email: alen@irb.hr
Web: www.lib.irb.hr | www.irb.hr
Tel: + 385 1 4560 929, x1243
Mob: + 385 98 584 045
Skype: vodopijevec
GTalk: alen.vodopijevec
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
|
- References:
- Re: [EP-tech] Copy live EPrints to staging server
- From: Adam Field <Adam.Field@jisc.ac.uk>
- Re: [EP-tech] Copy live EPrints to staging server
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Re: [EP-tech] Copy live EPrints to staging server
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Re: [EP-tech] Copy live EPrints to staging server
- From: alen vodopijevec <alen@irb.hr>
- Re: [EP-tech] Copy live EPrints to staging server
- Prev by Date: Re: [EP-tech] Copy live EPrints to staging server
- Next by Date: Re: [EP-tech] Copy live EPrints to staging server
- Previous by thread: Re: [EP-tech] Copy live EPrints to staging server
- Next by thread: Re: [EP-tech] Copy live EPrints to staging server
- Index(es):