-
Notifications
You must be signed in to change notification settings - Fork 12
1.1. Installation
Welcome to Cradle! A feature rich, modern admin builder. The following instructions will guide you through the installation process.
The following are needed in order to successfully install Cradle. Please make sure your sever meets the following requirements.
- PHP >= 7.1
- MySQL >= 5.7
- PDO PHP Extension
- Yarn
- Composer
Cradle has a full stack built-in which cases for particular services if available. Some optional services you may want to configure on your server are the following.
Issue the Composer create-project command in your terminal:
$ composer create-project cradlephp/cradle <project folder name>Then go cd <project folder name> and run the following and and follow the wizard to install.
$ bin/cradle install
$ bin/cradle sql populate
$ yarn buildTo start the server you issue the following command.
$ bin/cradle server -h 127.0.0.1 -p 8888Optionally, you can configure your application's document / web root to the public directory.
Open your browser to http://127.0.0.1:8888 and you should see the application
running.
A default admin login is also generated with the following credentials.
- Email:
[email protected] - Password:
123
The example admin section can be found at http://127.0.0.1:8888/admin/system/model/profile/search.
2.B. Reference: Validation Types
2.D. Reference: Indexes & Relations
3.A. Reference: Cradle on Shared Hosts
3.B. Reference: Command Line Tools
3.C. Reference: Architecture Recommendations
4.4. Intro to Handlebars Templating
4.B. Reference: Handlebars Helpers
4.C. Reference: Doon Interfaces
4.D. Reference: Global Package Methods