Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.
/ trusty_blank Public archive

A blank instance of a TrustyCMS site, to be used for testing.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

pgharts/trusty_blank

Repository files navigation

trusty_blank

A blank instance of a TrustyCMS site, to be used for testing.

Getting started

  1. Clone this repo to your local machine.
  1. Clone trusty-cms to your local machine, too.
  1. Clone required extensions to your local machine
  1. Rename Gemfile.example to Gemfile
  2. Change the :path for the trusy-cms gem & extensions to point to the folder where you cloned the trusty-cms repo.
  • it'll look like this: gem "trusty-cms", :path => '../trusty-cms'
  1. Rename config/database.yml.example to config/database.yml and edit to match the username, password, and host of your local mysql setup.
  2. Run 'bundle install' to install all gems.
  3. Set up the database
  • rake db:create
  • rake db:bootstrap
  • rake trusty:seed
  1. The bootstrap script will ask you some questions.
  • when asked if you're sure, answer 'y'
  • Leave Name, Username, and Password as defaults by hitting enter when prompted
  1. That should do it. If you 'rails s' a server should start.

Notes

In order for ckeditor to work at present, it must be required in the application.rb file of the site after requiring trusty_cms.

Like so:

require 'rails/all' require 'trusty_cms' require 'ckeditor' require 'radius' require 'trusty_cms/extension_loader' require 'trusty_cms/initializer' require 'string_extensions/string_extensions' require 'active_record_extensions/active_record_extensions' require 'configuration_extensions/configuration_extensions' require 'compass' require 'rack/cache'

About

A blank instance of a TrustyCMS site, to be used for testing.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •