$ php composer.phar create-project lyrasoft/earth your_project ~1.1
Type this command in your terminal to deploy system and run migration for production environment:
php windwalker run prepare
If you want to set prepare to dev mode, you can use this command in your terminal to run assets sync, migrations and seeders:
php windwalker run preparedev
Open http://{Your project root}/www/admin
, you will see the sample page.
Open http://{Your project root}/www/dev.php
, you will enter the development mode.
Copy etc/secret.dist.yml
to etc/secret.yml
and fill database information.
Type this command in your terminal:
php windwalker
You will see console usage:
Windwalker Console - version: 3.0
------------------------------------------------------------
[console Help]
The default application command
Usage:
console <command> [option]
Options:
-h | --help Display this help message.
-q | --quiet Do not output any message.
-v | --verbose Increase the verbosity of messages.
--ansi Set 'off' to suppress ANSI colors on unsupported terminals.
Commands:
muse The template generator.
phoenix The Phoenix RAD package.
unidev Unidev helpers
system System operation.
run Run custom scripts.
asset Asset management
migration Database migration system.
seed The data seeder help you create fake data.
package Package operations.
queue Queue management.
Welcome to Windwalker Console.
php windwalker migration status
php windwalker migration migrate --seed
Please see README in every Windwalker packages first.