With three basic steps, Trinh Nguyen shows how to get a Horizon dashboard on your laptop.

image

Everybody knows that the easiest way to build a new Horizon dashboard is to use DevStack. But, as you also already know, DevStack requires a fair amount of resources (16GB of RAM for a workable DevStack, in my experience).

So what can you do if you only have a laptop with 4-8GB RAM? Easy peasy, just follow these steps:

1. Install Keystone (the minimum requirement for Horizon)

Follow these official instructions: https://docs.openstack.org/keystone/latest/install/keystone-install-ubuntu.html

Here are some common issues you may run into and fixes for them:

http://www.dangtrinh.com/2018/03/fix-error-attributeerror-module-object.html
http://www.dangtrinh.com/2018/03/fix-importerror-cannot-import-name.html
http://www.dangtrinh.com/2018/03/how-to-fix-index-column-size-too-large.html

2. Install Horizon

Follow these official instructions on how to install Horizon on your computer: https://docs.openstack.org/horizon/latest/contributor/quickstart.html#quickstart

3. Build your own dashboard

Using this tutorial: https://docs.openstack.org/horizon/latest/contributor/tutorials/dashboard.html

Note: you may have to install additional services if your dashboard needs to communicate with those services (e.g: Tacker, Nova…)

4. Change the world

 

Trinh Nguyen is a hacker and ed-tech enthusiast with a startup called EdLab.XYZ. This post first appeared on his blog.

Superuser is always interested in community content, especially tutorials. Get in touch at editoATopenstack.org

Cover Photo // CC BY NC