Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Cutting edge Rails 3 CMS framework

we are not debugging the test always

but when we do, we use pry.
latest commit 03367d6372
Matthias Viehweger kronn authored
Octocat-spinner-32 adva-blog remove edit from features
Octocat-spinner-32 adva-cache do not create an admin when using site factory
Octocat-spinner-32 adva-categories adva-category provides Content.uncategorized scope
Octocat-spinner-32 adva-core we are not debugging the test always
Octocat-spinner-32 adva-markup do not create an admin when using site factory
Octocat-spinner-32 adva-static version 0.0.19 of hashr does not #stringify_keys correctly, so we hav…
Octocat-spinner-32 adva-user Merge branch 'feature-seeds' into feature-user_callback_fixes
Octocat-spinner-32 doc merge params when redirecting in abstract_actions
Octocat-spinner-32 features reorganize test/test_helper.rb and features/env.rb files so that the …
Octocat-spinner-32 lib require all gems on require 'adva-cms2'
Octocat-spinner-32 script CI should build only once (worksforme)
Octocat-spinner-32 test reorganize test/test_helper.rb and features/env.rb files so that the …
Octocat-spinner-32 .gitignore update gitignore
Octocat-spinner-32 Gemfile fix Gemfile so we can test on ruby 1.9.2
Octocat-spinner-32 README.textile CI should build only once (worksforme)
Octocat-spinner-32 Rakefile run unittests first and cucumber second
Octocat-spinner-32 TODO I'm in your refactoring, writing textfiles
Octocat-spinner-32 Thorfile move some files into adva-core to enable external engine testing
Octocat-spinner-32 adva-cms2.gemspec let's have a meta-gem. also add all contributors to gemspecs
Octocat-spinner-32 changelog.txt cleanup
Octocat-spinner-32 rerun.txt I'm in your refactoring, writing textfiles
Octocat-spinner-32 t apply ALL the patches to the new rails version 3.0.15
README.textile

adva-cms2

adva-cms2 is the successor of adva-cms which was the first completely
engine-based CMS plattform for Rails. adva-cms2 is written for and
based on Rails 3.

adva-cms2 is currently in an early developer sneak-peak preview stage.

Developer level feature overview

See doc/FEATURES.textile:“http://github.com/svenfuchs/adva-cms2/doc/FEATURES.textile”
for an overview.

Todo

See doc/TODO:“http://github.com/svenfuchs/adva-cms2/doc/TODO” for an incomplete
todo list

Running adva-cms2 tests

adva-cms2 uses cucumber, test/unit (with test_declarative), factory_girl and
mocha for testing.

Cucumber features require setting up a “dummy app” which is used as a
context for the various adva-cms2 engines to run the cucumber features in.

Thus, when you want to run the tests for the first time you have to “regenerate”
this application:

  $ REGENERATE_APP=1 rake

As long as you don’t add any migrations you can now use this application for
subsequent test runs and just use:

  $ rake

Generate a new adva engine

$ thor adva:generate:engine contacts

Using adva-cms2

SOME IMPORTANT NOTES:
1. Because of some of its dependencies, adva-cms2 currently does not run on ruby 1.9.x, it only runs on ruby 1.8.7.
2. If you get errors along the lines of “super called outside of method (NoMethodError)” it’s probably because you’re using Ruby patch-levels 1.8.7-p248 and 1.8.7-p249. If you are on one of these patch-levels, please use rvm and update your ruby version to 1.8.7-p299 or higher.

Get adva-cms

From github:

$ git clone git://github.com/svenfuchs/adva-cms2
$ cd adva-cms2
$ bundle install

Generate a new app and run it:

Be warned: Make sure the target directory does not exist (yet) or is
disposable, it will be removed and regenerated.

$ thor adva:app my_new_app --target /home/user/path/to/apps
$ cd /home/user/path/to/apps/my_new_app
$ bundle install
$ rails s

Now in your browser navigate to http://localhost:3000. Fill out the fields in the resulting page and click ‘Create Site’. After this you can log in to your new site with the credentials ‘admin@admin.org’ and password ‘admin!’.

Something went wrong with that request. Please try again.