Source code of Flashii in 2015-2017
This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2016-11-02 19:58:51 +01:00
app more shit 2016-11-02 19:58:51 +01:00
cache it's not dead!!! 2016-07-26 19:29:53 +02:00
config added lastfm on profile 2016-09-19 17:33:52 +02:00
database more shit 2016-11-02 19:58:51 +01:00
public Revert "removed flashii favicon from the project" 2016-10-07 21:23:51 +02:00
resources more shit 2016-11-02 19:58:51 +01:00
uploads bbcode parser 2016-08-04 23:24:08 +02:00
.gitattributes my local repository broke so all this shit happened, have a nice day 2015-12-02 15:38:40 +01:00
.gitignore goodbye gulp, you won't be missed 2016-11-01 18:00:42 +01:00
.styleci.yml use psr2 2015-10-30 17:42:24 +01:00
build.sh goodbye gulp, you won't be missed 2016-11-01 18:00:42 +01:00
composer.json preparations for lastfm 2016-09-19 11:51:43 +02:00
composer.lock permissions v2 step 1 2016-10-23 15:54:01 +02:00
LICENSE r20151231, happy new year to whoever reads this! 2015-12-31 15:51:01 +01:00
mahou migration and the software itself works! 2016-07-29 21:31:36 +02:00
package.json goodbye gulp, you won't be missed 2016-11-01 18:00:42 +01:00
README.md goodbye gulp, you won't be missed 2016-11-01 18:00:42 +01:00
routes.php preparations 2016-09-21 20:36:49 +02:00
sakura.php Add command for rebuilding bbcode cache 2016-10-07 21:21:05 +02:00
server.php r20160204 2016-02-04 21:56:40 +01:00
utility.php some permission stuff (forum remaining) 2016-11-01 22:14:02 +01:00

Sakura

StyleCI SensioLabsInsight

Requirements

  • PHP 7.0.0 or newer
  • A database engine compatible with your PHP install and Laravel/Illuminate's database abstraction layer, MySQL 5.7 recommended.
  • Composer
  • NPM from NodeJS

Installing

Backend

Copy config.example.ini, 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 mahou database-install
php mahou database-migrate
php mahou setup

After that you can either use php mahou serve to use the built in development server or serve the public folder through your webserver of choice.

Frontend

To compile the LESS and TypeScript assets you need to have the individual compiler installed, both are available from npm and can be installed through the following command:

npm install -g less typescript

After that install the required libraries by running npm install and from then on to compile the files you need to run build.sh.

If your editor yells at you that it can't find certain namespaces try running build.sh since that generates the required typings (.d.ts files).

Contributing

Right now I'm not accepting big PRs because of a set of big things not being fully implemented yet, bug fix PRs are more than welcome though!

License

Sakura is licensed under the Apache License version 2. Check the LICENSE file for the full thing.