Skip to content

civica-digital/civic-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Civic Generator

Rails template for projects at Civica Digital.

How to use it?

You need to have the following dependencies installed:

# Create
rails new myapp -m https://raw.githubusercontent.com/civica-digital/civic-generator/master/civicops.rb

# Update
rails app:template LOCATION=https://raw.githubusercontent.com/civica-digital/civic-generator/master/civicops.rb

Docker

You can use the following image to create an application:

# Create a new application with `myapp` as name
civicadigitaldocker/civicops myapp

MacOS:

docker run --rm -ti -v $PWD:/usr/src civicadigitaldocker/civicops myapp

Linux:

# If you are using Linux, you need to specify the user
docker run --rm -ti -v $PWD:/usr/src -u $(id -u):$(id -g) civicadigitaldocker/civicops myapp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published