|
1 | 1 | ..
|
2 | 2 | This file is part of Invenio.
|
3 |
| - Copyright (C) 2015-2018 CERN. |
| 3 | + Copyright (C) 2015-2019 CERN. |
4 | 4 |
|
5 | 5 | Invenio is free software; you can redistribute it and/or modify it
|
6 | 6 | under the terms of the MIT License; see LICENSE file for more details.
|
7 | 7 |
|
8 | 8 | Installation
|
9 | 9 | ============
|
10 | 10 |
|
11 |
| -The best way to get an Invenio demo instance up and running immediately is by |
12 |
| -using Docker or Vagrant, for example: |
| 11 | +Please see our quick start guide on |
| 12 | +https://invenio.readthedocs.io/en/latest/quickstart/index.html |
| 13 | + |
| 14 | +1. Scaffold |
| 15 | +----------- |
13 | 16 |
|
14 | 17 | .. code-block:: console
|
15 | 18 |
|
16 |
| - $ docker-compose build |
17 |
| - $ docker-compose up -d |
18 |
| - $ docker-compose run --rm web ./scripts/populate-instance.sh |
19 |
| - $ firefox http://127.0.0.1/records/1 |
| 19 | + # prerequisites: cookiecutter and pipenv |
| 20 | + # scaffold my-site instance |
| 21 | + $ cookiecutter gh:inveniosoftware/cookiecutter-invenio-instance \ |
| 22 | + --checkout v3.2 |
| 23 | +
|
| 24 | +2. Install |
| 25 | +---------- |
| 26 | + |
| 27 | +.. code-block:: console |
20 | 28 |
|
21 |
| -This will start an Invenio demo instance containing several example records and |
22 |
| -all the needed services such as PostgreSQL, Elasticsearch, Redis, RabbitMQ. |
| 29 | + $ cd my-site/ |
| 30 | + # start services (db, es, mq, cache) |
| 31 | + $ docker-compose up |
| 32 | + # build and install my-site instance |
| 33 | + $ ./scripts/bootstrap |
| 34 | +
|
| 35 | +3. Run |
| 36 | +------ |
| 37 | + |
| 38 | +.. code-block:: console |
23 | 39 |
|
24 |
| -For a detailed walk-through on how to set up your Invenio instance, please see |
25 |
| -our `installation documentation |
26 |
| -<http://invenio.readthedocs.io/en/latest/installation/index.html>`_. |
| 40 | + # setup database and indexes |
| 41 | + $ ./scripts/setup |
| 42 | + # start webserver and task queue |
| 43 | + $ ./scripts/server |
| 44 | + # your site is running! |
| 45 | + $ firefox https://127.0.0.1:5000/ |
0 commit comments