It's recommended that you use Composer to install Sura.
$ composer create-project suralabs/sura:^0.0.1 MYPROJECT --prefer-dist
Copy config files
$ cp system/data/config.php.example system/data/config.php
$ cp system/data/db_config.php.example system/data/db_config.php
The database configuration is located in system/data/db_config.php
To create a migration, use the -migrate
$ php sura -migrate
To create a user admin, use the -make:add-user
$ php sura -make:add-user Ivan Petrov petrov@example.com password
Sura has a few system requirements.
However, if you are not using Homestead, you will need to make sure your server meets the following requirements:
- PHP ^8.2
- ICONV PHP Extension
- GD PHP extension
- MySQLI PHP Extension
- Zlib PHP Extension
- Curl PHP Extension
- PDO PHP Extension
This software is distributed as open source with the MIT license.
Thanks goes to these wonderful people (emoji key):
phakof 🚇 |
This project follows the all-contributors specification. Contributions of any kind welcome!