Skip to content

ilude/new-ruby-docker

Repository files navigation

Builds a new minimal Ruby on Rails project (no database) that is docker-compose ready

See Here for powershell script to setup ruby on windows

See new-ruby-docker/Dockerfile if you want to enable/disable additional rails features

Requires Powershell Core (pwsh) and GNU Make Both can be installed using Chocolatey

To run:

mkdir C:\projects
cd C:\projects 
git clone https://github.com/ilude/new-ruby-docker.git
cd new-ruby-docker
make foo

This will create a new ruby on rails project in C:\projects\foo and open vscode on completion

in vscode open a new terminal (ctrl+`) and run

make

open a browser and go to http://localhost:3000/

There is also a sqlserver git branch that will build a project that can use Microsoft Sql Server database

and a services git branch that includes a more full featured rails project that includes redis,sidekiq,memcached

The full git branch generates a full rails project only skipping bundle and git initialization, but does not include additional services at this time.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors