The goal of this tutorial is to scaffold, install and run your first Invenio instance. This step is identical to Quickstart
Follow the Prerequisites guide to prepare your local environment.
Open a terminal and checkout the tutorial's 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.4 --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/
Browsers will display a security warning because we try to open a secure connection to a server with a self-signed certificate:
Simply bypass this warning, by clicking "Advanced" and confirm the certificate as an exception. Afterwards, you should see your first Invenio instance running: