Skip to content

nitzaalfinas/RubySauce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RubySauce

Version: 1.4 | License: GNU GPL V2
RubySauce is a CMS based on Ruby on Rails.
RubySauce has a template management system.

Installation

1. Make sure the repository successfully clone
2. Copy config/database.yml.sample and rename it into config/database.yml
3. Change the username and the database according to your configuration
4. Run "bundle install"
5. Run "rake db:migrate"
6. Run the server with "rails s"

Note:
  • The application use ImageMagic to resize images. So, make sure you have the ImageMagic installed on your server.
  • The application use Zip to unzip file with commandline. So, make sure you have the Zip installed on your server.
  • Sign in

    Path: /users/sign_in
    Email: admin@email.com
    Password: 11111111

    Path to panel

    Path: /adm/dashboard

    Prevent user from sign up

    If the application for personal use and you don't want another user for the application, you can remove sign up URL.
    Open app/models/user.rb and remove :registerable so your file look like below;
    class User < ActiveRecord::Base
      # Include default devise modules. Others available are:
      # :confirmable, :lockable, :timeoutable and :omniauthable
      devise :database_authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable
    end
    

    More information about devise: https://github.com/plataformatec/devise

    Email Configuration in Production Environment

    Please fit this into your configuration.
        config.action_mailer.default_url_options = { :host => 'nitzaalfinas.com' }
        config.action_mailer.delivery_method = :sendmail
        config.action_mailer.perform_deliveries = true
        config.action_mailer.raise_delivery_errors = false
        config.action_mailer.default :charset => "utf-8"
        

    Best Features

  • Test Driven Development
  • Admin Page
  • Templates System
  • Changing URI easily