More actions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
}} | }} | ||
<youtube>oQsZ_MCmht4</youtube> | <youtube>oQsZ_MCmht4</youtube> | ||
== Requirements == | == Requirements == | ||
Line 33: | Line 29: | ||
$ php topia db:migrate | $ php topia db:migrate | ||
$ php topia db:setup </pre> | $ php topia db:setup </pre> | ||
After that you can either use <code>$ php topia serve</code> to use the built in development server or serve the public folder through your webserver of choice. | After that you can either use <code>$ php topia serve</code> to use the built in development server or serve the public folder through your webserver of choice. |
Revision as of 04:10, 19 September 2021
Requirements
- PHP 7.2.0 (or greater) or an equivalent environment
- MySQL 5.7 is recommended, you can use any database engine compatible with illuminate/database in theory though.
- Composer
Installing
Backend
Copy config.example.php, set everything up to your liking (database is most important). I'd also recommend setting show_errors
to true
for development. Then run the following commands in the root.
$ composer install $ php topia db:install $ php topia db:migrate $ php topia db:setup
After that you can either use $ php topia serve
to use the built in development server or serve the public folder through your webserver of choice.