You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2022. It is now read-only.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This example project demonstrates very basic functionality of the BitFrame PHP Microframework to create a simple website.
4
+
5
+
### Install
6
+
7
+
#### Prerequisites
8
+
9
+
* PHP 7.1.0+
10
+
* Webserver with URL Rewriting (such as Apache or nginx)
11
+
12
+
#### Install Via Composer
13
+
14
+
Simply navigate to the `basic_website` project directory in terminal/command line (to the folder where `composer.json` resides) and run the following command:
Once you've installed the required dependency files, point your browser to the `basic_website` project's url (for example: http://localhost/basic_website/public_html/).
31
+
32
+
### Important
33
+
34
+
This is meant to be an example project, so prior to using it in production, make sure the following:
35
+
36
+
1. You've taken measures to secure your web project however you see fit;
37
+
1. You've made necessary changes in env.php file (such as setting `ENV` to `'live'` and `DEBUG_MODE` to `false`);
38
+
1. You've edited and customized all template files (if you're using templates);
39
+
1. You've added/removed the routes (app/routes/..), dependencies (app/config/dependencies.php) and middlewares (app/config/middleware.php) you'll be using.
40
+
41
+
### License
42
+
43
+
Please see [License File](LICENSE.md) for licensing information.
This is a barebones example of how a website could be made with BitFrame. This text is imported from the main layout template (which is synonymous across all templates to give them the same look and feel).
0 commit comments