Home / Companies / LogRocket / Blog / Post Details
Content Deep Dive

Build and deploy a React web app from OneDev

Blog post from LogRocket

Post Details
Company
Date Published
Author
Brian De Sousa
Word Count
2,453
Language
-
Hacker News Points
-
Summary

OneDev is an open-source DevOps system that provides a comprehensive suite of development tools similar to those offered by popular cloud services like GitHub and GitLab, but it is designed to be hosted on a user's own server. This article explores the process of setting up a OneDev instance from a React web developer's perspective, detailing steps to push a React web app's source code to OneDev, and configure build and deploy jobs, including deployment to Azure App Service. The setup includes using Docker to run OneDev, creating a project that contains a Git repository and automation jobs, and configuring jobs to build, test, and deploy the code. The deployment process to Azure involves creating a service principal for secure access and configuring the necessary Azure resources. It is emphasized that while the tutorial focuses on a simple workflow, OneDev supports more complex CI/CD pipelines, and considerations such as securely storing sensitive information should be addressed for production use.