The goal of this tutorial is to scaffold, install and run your first Invenio instance. This step is identical to the Quickstart
First ensure you have prepared your environment according to the guide.
First, open a terminal and checkout the trainings' source code:
$ cd ~/src
$ git clone https://github.com/inveniosoftware/training.git
Tip: To copy/paste into the terminal inside the Ubuntu virtual machine use: Ctrl+Shift+V (paste), Ctrl+Shift+C (copy), Ctrl+Shift+X (cut).
Scaffold the skeleton for your first Invenio instance:
$ cookiecutter gh:inveniosoftware/cookiecutter-invenio-instance -c v3.2 --no-input
Navigate to the scaffolded code, and start the Docker services (database, Elasticsearch, RabbitMQ and Redis cache):
$ cd my-site
$ docker-compose up -d
Install and build the Python and NPM dependencies:
$ ./scripts/bootstrap
Setup the database tables, search indexes, queues and caches:
$ ./scripts/setup
Start a development server and background job worker:
$ ./scripts/server
Last, open https://127.0.0.1:5000/ in your browser:
$ firefox https://127.0.0.1:5000/
Firefox and other browsers will display a security warning because we are trying to open a secure connection to a server with a self-signed certificate:
Simply by pass this warning, by clicking "Advanced" and confirm the certificate as an execption. Afterwards, you should now see your first Invenio instance running: