Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor doc for static version #675

Open
digiwirtual opened this issue Jul 3, 2020 · 0 comments
Open

Poor doc for static version #675

digiwirtual opened this issue Jul 3, 2020 · 0 comments

Comments

@digiwirtual
Copy link

digiwirtual commented Jul 3, 2020

After following install instruction I decided to try static version, but immediately i got an error missing bootstrap.php so I created a file in a static dir.

<?php
use Minify\App;

require __DIR__ . '/../../vendor/autoload.php';

return new App(__DIR__);

Then I got a problem with mod_rewrite, after I checked all docs I found tiny note in .htaccess # You may need RewriteBase on some servers - it should be in the troubleshooting part.

Finally I fixed index.php in /min/ directory which I use for testing purpose.

<?php
use Minify\App;

require __DIR__ . '/../vendor/autoload.php';

$app = new App(__DIR__);
$app->runServer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant