-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,510 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,45 @@ | ||
.. | ||
This file is part of Invenio. | ||
Copyright (C) 2015-2018 CERN. | ||
Copyright (C) 2015-2019 CERN. | ||
Invenio is free software; you can redistribute it and/or modify it | ||
under the terms of the MIT License; see LICENSE file for more details. | ||
|
||
Installation | ||
============ | ||
|
||
The best way to get an Invenio demo instance up and running immediately is by | ||
using Docker or Vagrant, for example: | ||
Please see our quick start guide on | ||
https://invenio.readthedocs.io/en/latest/quickstart/index.html | ||
|
||
1. Scaffold | ||
----------- | ||
|
||
.. code-block:: console | ||
$ docker-compose build | ||
$ docker-compose up -d | ||
$ docker-compose run --rm web ./scripts/populate-instance.sh | ||
$ firefox http://127.0.0.1/records/1 | ||
# prerequisites: cookiecutter and pipenv | ||
# scaffold my-site instance | ||
$ cookiecutter gh:inveniosoftware/cookiecutter-invenio-instance \ | ||
--checkout v3.2 | ||
2. Install | ||
---------- | ||
|
||
.. code-block:: console | ||
This will start an Invenio demo instance containing several example records and | ||
all the needed services such as PostgreSQL, Elasticsearch, Redis, RabbitMQ. | ||
$ cd my-site/ | ||
# start services (db, es, mq, cache) | ||
$ docker-compose up | ||
# build and install my-site instance | ||
$ ./scripts/bootstrap | ||
3. Run | ||
------ | ||
|
||
.. code-block:: console | ||
For a detailed walk-through on how to set up your Invenio instance, please see | ||
our `installation documentation | ||
<http://invenio.readthedocs.io/en/latest/installation/index.html>`_. | ||
# setup database and indexes | ||
$ ./scripts/setup | ||
# start webserver and task queue | ||
$ ./scripts/server | ||
# your site is running! | ||
$ firefox https://127.0.0.1:5000/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.