Skip to content

tiborsimko/inspire-devscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

INSPIRE Devscripts

About inspire-devscripts

inspire-devscripts repository contains a collection of scripts useful when hacking on the INSPIRE instance of Invenio. Since INSPIRE source code repository is a sort of overlay on top of Invenio source code repository, see also accompanying invenio-devscripts.

Contents

inspire-recreate-demo-site
recreate INSPIRE demo site

Installation

See invenio-devscripts repository instructions; the same applies here. In addition to the configuration environment variables mentioned there, you may also want to tweak:

VariableDocumentationDefault value
CFG_INSPIRE_SRCDIRwhere are INSPIRE sources?~/private/src/inspire
CFG_INSPIRE_BIBTASK_USERsubmit initial bibtasks as whom?admin

Usage

inspire-recreate-demo-site

Having a running Invenio installation, run this command to erase given Invenio instance and reinstall new fresh INSPIRE demo site.

For example, here are commands to run in order to set up a completely new virtualenv environment called inspire-maint-1.1 that will run INSPIRE demo site on top of Invenio maint-1.1 branch:

cd ~/private/src/invenio
git checkout maint-1.1
mkvirtualenv --system-site-packages inspire-maint-1.1
invenio-initialise-virtualenv inspire-maint-1.1 --yes-i-know
deactivate && workon inspire-maint-1.1
invenio-recreate-demo-site --yes-i-know
inspire-recreate-demo-site --yes-i-know

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/.

See also

About

A collection of scripts useful for INSPIRE development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages