Getting started
- Requirements
-
ImageMagick
Skyline uses ImageMagick for all the fancy image resizing so make sure you have imageMagick installed on your system
MySQL
We've taken the mysql gem out of Skyine in case you would like to use a different database so make sure you install either the mysql gem (sudo gem install mysql) or another database gem.
Get the gem
$ sudo gem install skylinecms
Create a rails application
$ rails my_app --database=mysql
$ cd my_app
Setup skyline
Database
Setup your database.yml to match your database setup.
Then run:
$ rake db:create
$ rake skyline:db:migrate
$ rake skyline:db:seed
Create user
$ ./script/console
>> u = Skyline::User.new
>> u.email = 'admin@admin.com'
>> u.password = 'secret'
>> u.roles << Skyline::Role.first
>> u.save!
Take it for a ride
- Nice, but where's my website?
-
Note that at this point you've just set up SkylineCMS and are ready to start creating your site.
So from here you should log into http://localhost:300/skyline and publish your homepage.
Templates
We've prepared a set of default templates here to make sure your website shows up nicely.
So all you have to do is copy the files into the proper folders and you're ready to go.
Make sure to read our templating guides to get a better understanding of how templates work in Skyline.