Skip to content

rero/cookiecutter-invenio-instance

 
 

Repository files navigation

Cookiecutter-Invenio-Instance

This Cookiecutter template is designed to help you to bootstrap an Invenio service.

Quickstart

Install the latest Cookiecutter if you haven't installed it yet:

pip install -U cookiecutter

Generate your Invenio instance:

cookiecutter https://github.com/inveniosoftware/cookiecutter-invenio-instance.git -c 3.0

Features

  • Python package: Python package for your service.
  • Boilerplate files: README including important badges, AUTHORS and CHANGES files.
  • License: MIT file and headers.
  • Installation: Installation workflow and dependency management using pipenv.
  • Tests: Testing setup using pytest.
  • Documentation: Documentation generator using Sphinx. Also includes all files required for Read the Docs. Mocking module to simulate not-installed requirements for faster documentation building.
  • Continuous integration: Support for Travis which tests all requirement levels and adds coverage tests using Coveralls.
  • Your toolchain: Ignores a decent set of files when working with Git and Docker. Gets your editor to adapt project guidelines by providing an EditorConfig file.

Configuration

To generate correct files, please provide the following input to Cookiecutter:

project_name Full project name, might contain spaces.
project_shortname Project shortname, no spaces allowed, use - as a separator.
project_site Project website host.
package_name Package/Module name for Python, must follow PEP 0008.
github_repo GitHub repository of the project in form of USER/REPO, not the full GitHub URL.
description A short description of the functionality of the module, its length should not extend one line.
author_name The name of the primary author of the project, not necessarily the same as the copyright holder.
author_email E-Mail address of the primary author.
year Current year.
copyright_holder Name of the person or organization who acts as the copyright holder of this project.
transifex_project Name of the project on transifex translation platform.
database The database you are planning to use. PostgreSQL (postgresql) and MySQL (mysql) supported at the moment.
elasticsearch The version of ElasticSearch you are planning to use. Versions 5.x (elasticsearch5) and 6.x (elasticsearch6) supported at the moment.

Further documentation is available on https://cookiecutter-invenio-instance.readthedocs.io/

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.6%
  • Makefile 17.9%
  • Batchfile 16.8%
  • Shell 13.6%
  • Dockerfile 1.6%
  • HTML 1.5%