A practical deployment case study showing how Omni was moved from a local VirtualBox development environment to a private Ubuntu server using Next.js, PostgreSQL, Nginx, PM2, Git, and separate dev/staging environments.
Challenge
This project documents the process of deploying the Omni portfolio and knowledge platform on an Ubuntu 24.04 work server. The goal was to move away from a local VirtualBox-only workflow and create a cleaner server-based development and staging setup with Nginx, PM2, PostgreSQL, Git-based deployment, and safer separation between dev and staging.
Delivery
Evidence
Omni started as a local development project running inside a VirtualBox Ubuntu environment. As the project became more serious, the next step was to move it to a stronger work server where development and staging could run more reliably.
The goal was to create a server-based workflow where development can continue on the work server, while staging remains available through Nginx for browser testing and internal review.
The server was prepared with a dedicated application structure under /srv. The development application runs separately from the staging application, and each environment uses its own database so changes in development do not accidentally affect staging data.
Nginx exposes the staging site through port 80, while the development server can be accessed directly on port 3000 when needed. PM2 is used to keep the staging process running, and Git is used to move committed changes from development to staging.
The result is a cleaner, safer, and more professional deployment workflow for Omni. The project can now be developed on the server, tested in staging, committed through Git, and later prepared for public hosting when a domain and public access are ready.
Outcome
Omni was successfully deployed on the Ubuntu work server with separate development and staging application folders, separate PostgreSQL databases, Nginx access for staging, PM2 process management, Git-based promotion from dev to staging, and tested Learn/project pages.
Environment
Related knowledge
Collaboration
Share what needs to be built, improved, prepared, or supported. Omni can help turn the requirement into dependable delivery.