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

How to start a Ruby on Rails project with devenv.sh

Blog post from Upsun

Post Details
Company
Date Published
Author
Laurent Arnoud
Word Count
1,020
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

Laurent Arnoud provides a detailed guide on setting up a Ruby on Rails project with devenv.sh and deploying it to the Upsun platform. Devenv.sh is introduced as a faster and reproducible local development tool compared to Docker Compose, leveraging Nix for package management and system configuration. The article walks through the initial setup of a Rails project, including the creation of necessary configuration files and the installation of essential packages using devenv.nix. It emphasizes the importance of maintaining up-to-date dependencies and addresses potential issues with gem installations. The guide also covers setting up a MySQL database and configuring services to run with devenv. For deployment to Upsun, the guide explains generating a basic configuration, modifying the .upsun/config.yaml file for integration, and setting up necessary hooks and environment variables. The process concludes with creating and pushing the project to Upsun, allowing developers to see the default Rails index upon successful deployment.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.