Skip to content

osportal/osportal

Repository files navigation

osPortal is a free and open source Intranet platform built with Python.

Install

Docker

Make sure both docker and docker-compose are installed.

In order to install and launch the server, simply run docker-compose up -d in the same directory as the docker-compose.yml file

The site will be running on localhost:8002

First time setup will prompt you to add a new admin account.

You can monitor your celery workers and tasks via Flower, which can be accessed via localhost:5555

Flower credentials: admin:password

Updating DB Schema with Flask-Migrate

Tell Migrate and Alembic that the database is up to date, with the stamp command:

flask db stamp head 

Generate an initial migration:

flask db migrate

Finally, apply the migration:

flask db upgrade