greeny / SatisfactoryTools

Satisfactory Tools for planning and building the perfect base.
https://www.satisfactorytools.com/
MIT License
268 stars 57 forks source link

What bits of PHP are required to run the site? #71

Closed IanKemp closed 1 year ago

IanKemp commented 3 years ago

As far as I can see the only thing that uses PHP is index.php to generate a cache key for your JS. Are there other portions where PHP is required, or is this the only part? Because it would probably be relatively simple to replace this with a gulp script doing the same, which would remove the PHP dependency.

greeny commented 3 years ago

Well for the frontend yeah, only the index.php requires PHP. Also I'm using webpack, so I don't want to introduce gulp.

Anyway, there's also the API that needs PHP, so I'm not too concerned about the requirement of PHP. If you want to run it locally, you can probably remove the PHP dependency with ease (assuming you either connect to the official API or host your own somewhere [though it's not opensource yet]).

greeny commented 1 year ago

Closing as answered