Code Monkey home page Code Monkey logo

core's Introduction

Wardrobe

Latest Stable Version Total Downloads

Wardrobe is designed to be a very minimal blogging platform with the primary focus on writing. Currently it is a work in progress but you are free to give it a try. (Just be warned this alpha/beta quality). If you have any issues or ideas please report them.

Wardrobe

Installing Wardrobe As A Project

Creating a stand-alone Wardrobe installation is now as simple as running composer create-project wardrobe/wardrobe. For more information visit wardrobecms.com.

Installing Wardrobe In An Existing Laravel Application

Installing Wardrobe in an existing Laravel application couldn't be easier!

If you have the Laravel Package Installer, simply run php artisan package:install wardrobe/core.

If you do not have the package installer then add "wardrobe/core": "1.0.*" to your composer.json file and run composer update. Then add Wardrobe\Core\WardrobeServiceProvider to your providers and 'Wardrobe' => 'Wardrobe\Core\Facades\WardrobeFacade' to your aliases in app/config/app.php.

Now the last thing you need to do is publish the necessary files configuration and theme files by running php artisan wardrobe:config, php artisan config:publish wardrobe/core, and php artisan wardrobe:themes.

Configuring the Database Connection

WardrobeCMS is designed to give you maximum database configuration within existing Laravel applications. If you would like to use the default database connection from your host app, no configuration is necessary. However, if you would like to use a separate database connection, this is available in the app/config/package/wardrobe/core/database.php file.

If the default configuration is set to default it will use the host application connection. Otherwise, it will use the connection details listed in this connection array.

Finally, to migrate to your selected database connection run php artisan wardrobe:migrate.

Creating Your First User

If you are using Wardrobe as a package, you will have to create a user. This is as easy as running php artisan wardrobe:user:create first_name last_name email password, of course filling in your own details as the arguments.

Using Wardrobe

By default, your WardrobeCMS blog will be located in your applications index. The administration panel will be located at /wardrobe.

Both of these routes can be configured using route group rules from the app/config/package/wardrobe/core/routes.php file.

Theming Wardrobe

By default, your theme files are located in public/themes. You can modify these themes or create your own using the default themes as a guide. The configuration for your themes is located in app/config/packages/wardrobe/core/wardrobe.php in the theme option.

core's People

Contributors

rtablada avatar ericlbarnes avatar adamwathan avatar bradstinson avatar jesseobrien avatar jyggen avatar mpmont avatar stevetan86 avatar

Watchers

Ghasem 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.