chialab/bedita-app-template
Composer 安装命令:
composer create-project chialab/bedita-app-template
包简介
A template for BEdita websites and apps.
README 文档
README
A skeleton for creating applications with BEdita 5.x.
The framework source code can be found here: bedita/bedita.
Installation
- Download Composer or update
composer self-update. - Run
composer create-project --prefer-dist chialab/bedita-app-template [app_name].
If Composer is installed globally, run
composer create-project --prefer-dist "chialab/bedita-app-template:^5.0"
In case you want to use a custom app dir name (e.g. /myapp/):
composer create-project --prefer-dist "chialab/bedita-app-template:^5.0" myapp
You can now either use your machine's webserver to view the default home page, or start up the built-in webserver with:
bin/cake server -p 8765
Then visit http://localhost:8765 to see the welcome page.
Update
Since this skeleton is a starting point for your application and various files would have been modified as per your needs, there isn't a way to provide automated upgrades, so you have to do any updates manually.
Configuration
Read and edit config/app.php and setup the 'Datasources' and any other
configuration relevant for your application.
Testing
Test database configuration is in app_local.php. You can override the database url using the DATABASE_TEST_URL environment variable:
export DATABASE_TEST_URL='mysql://root:****@localhost/bedita4_app'
Then, you can launch tests using the test composer command:
composer run test
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-04-14