GithubHelp home page GithubHelp logo

nicklasclark / bookstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from themosis/bookstore

0.0 1.0 0.0 13.41 MB

Demo website built with the Themosis framework.

Home Page: http://framework.themosis.com/

PHP 6.33% PLSQL 84.92% ApacheConf 0.03% CSS 2.72% JavaScript 1.37% HTML 4.63%

bookstore's Introduction

Bookstore

The Bookstore is a sample project used to demonstrate best practices in developing a WordPress application or website using the Themosis framework.

The project shows to developers how to work with the APIs, how to configure and develop a custom plugin and handle the front-end output with a custom theme.

Requirements

  • PHP >= 5.6.4
  • Themosis framework >= 1.3.0

Installation

The project comes with a local configuration and a MySQL dump. In order to install this demo project on your local machine, please follow the steps below:

  1. Download, from our GitHub repository, the project .zip file and extract it.
  2. Setup a Virtual Host with a local host value of bookstore.dev.
  3. Set Virtual Host root path to the project htdocs directory.
  4. From your MySQL local server, create a database with a name of bookstore.
  5. Create a MySQL user with a username of demo and a password of demo for localhost.
  6. Assign the demo user privileges to the bookstore database.
  7. Import project MySQL data, stored in the project data/bookstore.sql file into the bookstore database.
  8. Open your Console/Terminal, go to the bookstore root directory and run a composer install command.
  9. From the browser, visit the http://bookstore.dev/ URL.
  10. The Bookstore project is now installed. Enjoy!

WordPress

The imported database contains a default WordPress user with an administrator role. In order to log in the WordPress administration, visit the bookstore.dev/login URL and use the following access:

  • Username: demo
  • Password: demo

Notes

The bookstore project is a simple website showing some of the available APIs of the Themosis framework.

The project is composed of the following elements:

  • The Themosis framework core plugin
  • The bookstore theme
  • A books-manager plugin developed based on the Themosis framework plugin boilerplate
  • A bookstore-faqs minimalist plugin using some framework APIs
  • The uploads directory with media images used along the project content

The project's theme is by default configured to use Twig views stored into its resources/views/twig directory but there are also Blade views stored into the resources/views/blade.

We encourage you to explore both plugins and the theme code in order to get familiar with the APIs of the Themosis framework.

bookstore's People

Contributors

jlambe avatar

Watchers

 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.