Git Product home page Git Product logo

plugi-core's Introduction

Plugi

Boilerplate for quickly spinning up websites using PHPagebuilder.

This boilerplate defines the project structure for quickly creating a website that can be managed with a drag and drop pagebuilder.

Installation

To setup your website download the boilerplate and upload it to the webroot directory of your website.

Install PHPagebuilder with Composer

To install PHPagebuilder via composer, SSH to your webroot directory and run the following command:

composer require hansschouten/phpagebuilder

Now uncomment line 7 of index.php.

Install PHPagebuilder without Composer

If you don't want to use composer, simply download the latest version of PHPagebuilder here and upload it in a directory called phpagebuilder inside your webroot directory.

Now uncomment lines 10 and 11 of index.php.

Add the config file

Copy the config.example.php from your version of the PHPagebuilder project and add it as config.php to your website's root directory.

Configure a database

If you use PHPagebuilder without any customizations, it requires a database for storing your pages. Just create a database and run the queries from config/create-tables.sql of your version of the PHPagebuilder project. Next, add the database credentials to your config file.

Login

Now you should be able to log in to the admin panel by going to the /admin URL of your website using admin and changethispassword (you can change these in the config file). If you are able to login you can follow the instructions to start building your website as described in the main project's repository.

Note: make sure to disable error reporting in index.php once your website goes into production!

plugi-core's People

Contributors

deepdiverpaul avatar

Watchers

 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.