{"id":16019656,"url":"https://github.com/iboard/eac","last_synced_at":"2025-04-05T03:25:14.727Z","repository":{"id":3422523,"uuid":"4473849","full_name":"iboard/eac","owner":"iboard","description":"Engine Application Composer","archived":false,"fork":false,"pushed_at":"2012-05-30T15:13:12.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T08:08:48.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iboard.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-28T19:26:50.000Z","updated_at":"2013-10-07T16:16:53.000Z","dependencies_parsed_at":"2022-09-21T13:11:14.343Z","dependency_job_id":null,"html_url":"https://github.com/iboard/eac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Feac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Feac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Feac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboard%2Feac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iboard","download_url":"https://codeload.github.com/iboard/eac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247283489,"owners_count":20913583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T17:05:02.624Z","updated_at":"2025-04-05T03:25:14.699Z","avatar_url":"https://github.com/iboard.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Engine Application Composer\n===========================\n\n**EAC** is a set of Rails-engines and a 'Dummy-application' named `eac`.\n\n\nBuild your own Rails-app\n------------------------\n\nTo build your own Rails-app based on EAC's engines fork `eac` from Github\nand edit `eac/Gemfile`. Edit the section where engines are loaded and remark\nall engines you will not use.\n\n\u003cpre\u003e\n[....]\n# EACUSR ENGINE\ngem \"eacusr\", path: File.expand_path('../../eacusr', __FILE__)\n[....]\n\u003c/pre\u003e\n\nAnd in `eac/config/routes.rb` edit the corresponding lines\nto mount the used engines.\n\n\u003cpre\u003e\nRails.application.routes.draw do\n  mount Eacusr::Engine =\u003e \"/eacusr\"\nend\n\u003c/pre\u003e\n\n`eac` dummy-applicaton\n======================\n\nIf you forked this project from Github you will see the\nfollowing directory-structure.\n\n**/eac**\n\u003e  The dummy-applicaton to test the various engines\n\n**/eacusr**\n\u003e  The User-engine implements /eacusr and supports a\n\u003e  user-model using omniAuth with several oauth-providers\n\u003e  preconfigured and omniauth-identity for local users\n\n\n_More engines will follow_\n\n\nCreate your own Engine\n======================\n\n\u003e *In near future, there should be a generator to do this steps in one command.*\n\nIn project's root-path do\n\n\u003cpre\u003e\n  rails plugin new eacYOUR_ENGINE --mountable --skip-testunit --skipactiverecord -T --dummy-path=spec/dummy\n\u003c/pre\u003e\n\nThen add the following line to `eac/eac/Gemfile`\n\n\u003cpre\u003e\n  gem \"eacYOUR_ENGINE\", path: File.expand_path('../../eacYOUR_ENGINE', __FILE__)\n\u003c/pre\u003e\n\nAdd the following block at the end of `eac/eacYOUR_ENGINE/Rakefile`\n\n\u003cpre\u003e\n  task :default =\u003e :rspec \n\n  task :rspec do\n    system \"rspec spec/spec_helper.rb spec/*/*_spec.rb\"\n  end\n\u003c/pre\u003e\n\nCopy an existing spec_helper.rb to `eac/eac/YOUR_ENGINE/spec/spec_helper.rb`\nYou can copy from `eac/eacusr/spec/spec_helper` and change the file near bottom to\n\n\u003cpre\u003e\n  config.include EacYOUR_ENGINE::Engine.routes.url_helpers\n\u003c/pre\u003e\n\nRun `rails g rspec:install` in `eac/eacYOUR_ENGINE` and \n\n* create eac/eacYOUR_ENGINE/spec/integration\n* copy eac/eacusr/spec/integration/eacusr_engine_spec.rb to eac/eacYOUR_ENGINE/spec/integration/eacYOUR_ENGINE_spec.rb and edit the file to fit the engine's name.\n\n\nStart developing your engine in `eac/eacYOUR_ENGINE`. While developing you can run `rake` in \nthe project's root-path to test the dummy-app using your engine.\n\nRun the server\n==============\n\n\u003cpre\u003e\ncd eac\nrails server\n\u003c/pre\u003e\n\nand visit http://0.0.0.0:3000\n\nRun the specs\n=============\n\nJust run `rake` in the project's root-directory to run all engine's specs in a batch or change to one of the engine's directories and exec\n`rspec spec/rspec_helper.rb spec/*/*_spec.rb`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiboard%2Feac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiboard%2Feac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiboard%2Feac/lists"}