Initial Setup
This guide walks you through the first steps before you start coding.
macOS Setup
- Install Xcode Command Line Tools:
- Install MySQL.
- Continue to Next Steps.
Apple Silicon (All M-Series Processors)
Note: Installing the Trilogy gem on Apple Silicon Macs requires additional steps:
- Install dependencies via Homebrew:
- Install the
trilogygem with the following command:
Linux (Ubuntu) Setup
These steps work for most Debian-based distributions (Ubuntu, Mint, etc.).
-
Install MySQL. ⚠️ Important: Review the "Step 2 — Configuring MySQL" section in the guide.
-
Install the MySQL client library:
- Continue to Next Steps.
Windows (WSL - Windows Subsystem for Linux)
- Use the latest Ubuntu LTS version in WSL and open its terminal.
-
Install MySQL.
-
Install the MySQL client library:
- Continue to Next Steps.
- (Optional) Configure Ruby interpreter for RubyMine: Guide.
🐳 Docker
The easiest way to set up your development environment! Avoid dependency issues and manual installations—just run Docker and start coding.
To get started, follow the local Docker guide in docker/README.md.
Next Steps
- Install a Ruby version manager: rbenv or RVM.
- Install Ruby 4.0.5. The current Ruby version is defined in
.ruby-version; the Gemfile allows Ruby~> 4.0.1. - Install Node.js via nvm and enable Corepack:
The current frontend runtime is Node
24.15with Yarn4.14.1. - Generate an SSH key:
- Add your SSH key to Easy GitLab: Profile > Preferences > SSH Keys.
- Clone the platform repository:
git clone [email protected]:devel/devel.git - Navigate to the cloned directory:
- Install Bundler:
- Install platform dependencies:
- Set up the database:
- Copy
config/database.yml.exampleand rename it toconfig/database.yml. - Update database credentials in
config/database.yml(Configuration Guide). - Prepare your development database:
- Using an SQL dump: (Download a sample dump: demo_database_dump.)
- OR create a clean database:
WSL Users: Use
bundle exec rake db:create RAILS_ENV=development NAME=''instead.
- Copy
-
Run database migrations: Easy8 runs database and plugin migrations through the install task:
> WSL Users: UseRAILS_ENV=development NAME='' bundle exec rails easy8:installinstead. -
Start the Rails server (available at
http://localhost:3000): -
(Bonus) Install EasyCLI (highly recommended). > It automates tasks like creating merge requests and simplifying SSH access.
🚂 Choo-Choo! Your Rails Server is Leaving the Station!
Your development environment is now ready!