https://github.com/themosis/bookstore
Demo website built with the Themosis framework.
https://github.com/themosis/bookstore
bookstore php themosis-framework wordpress
Last synced: about 1 year ago
JSON representation
Demo website built with the Themosis framework.
- Host: GitHub
- URL: https://github.com/themosis/bookstore
- Owner: themosis
- Created: 2014-03-26T14:34:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2019-04-14T10:25:04.000Z (about 7 years ago)
- Last Synced: 2025-03-27T02:39:09.715Z (about 1 year ago)
- Topics: bookstore, php, themosis-framework, wordpress
- Language: PLSQL
- Homepage: http://framework.themosis.com/
- Size: 13.6 MB
- Stars: 71
- Watchers: 14
- Forks: 26
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](https://github.com/themosis/plugin)
- 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.