Giter Site home page Giter Site logo

ascent's Introduction

Ascent

Ascent Logo

Build Status

Ascent is a highly customizable CMS created by and for developers.

What is Ascent and why is it better than other CMS?

Ascent isn't made to be a plug and play CMS for Ruby on Rails. It is a basic wrapper to create a custom CMS for your needs! If you want to create a complete webpage in just a day Ascent may not suite your needs, but it may if you want to be able to completly customize all content on the website but don't want to create the hard parts it may just be perfect for you!.

Ascent uses a dynamic router, this allows us to specify specific nodes that should be rendered making it quick and resource light to load a page!

It's quick, it's dynamic and it's made for developers!

Installation

gem install ascent # Current version 0.0.0

Then run the installer, you will be prompted to select the namespace for the admin routes. (Defaults to '/admin' if none is entered)

rails g ascent:install

After that run the migration that was created for the ascent models

rails db:migrate
NOTE!!! Closure_tree not updated!

As of now (2016-06-10) closure_tree can not create a root object. This is due to a change in Rails 5. It has been fixed but not released, therefore you need to create a "Ascent::Node" root node yourself. This is done by setting the parent_id to null and in node_heiracrhies set ascentdent_id and descendant_id to the Node id and generations to 0 yourself in your database.

Development

After you downloaded the latest code from the master branch, create a new branch with your new feature or bugfix.

Running spec

Make sure you always run the spec before commiting and you have added text to your new code!

rake # Runs spec and rubocop
rake spec # Run only spec

Installing gem in development

To install the gem while developing run the following rake command (Sometimes you may need to uninstall the gem)

rake install

My test are saying ascent_nodes don't exists in the database?

You may need to run the following command:

cd spec/dummy_app
rake db:migrate && rake db:test:prepare RAILS_ENV=test

TODO

  • Fill in this README more
  • Check Issues for more info

ascent's People

Contributors

antewall avatar johanandre avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.