PhileCMS / Phile

A flat file CMS with a swappable parser and template engine.
https://philecms.github.io/
Other
257 stars 49 forks source link

install doc misleading #173

Closed berteh closed 9 years ago

berteh commented 9 years ago

thanks for your work on Phile.

install step without composer, at https://github.com/PhileCMS/Phile/wiki/%5BHOW-TO%5D-Installation#installation---method-one-the-easy-way does not work as-is for it is missing (at least) lib/vendor/autoload.php.

Please add info how to download dependencies. thanks.

ghost commented 9 years ago

I'm having the same issue. This is the result I'm getting:

Warning: require(*DOMAIN NAME REMOVED*/lib/vendor/autoload.php): failed to open stream: No such file or directory in *DOMAIN NAME REMOVED*/lib/Phile/Bootstrap.php on line 109

Fatal error: require(): Failed opening required '*DOMAIN NAME REMOVED*/lib/vendor/autoload.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in *DOMAIN NAME REMOVED*/lib/Phile/Bootstrap.php on line 109
james2doyle commented 9 years ago

Please install composer and then run composer install.

Those instructions were out of date. I've simplified the installation steps, but you must now have composer set up in order to install Phile properly.

ghost commented 9 years ago

Thanks for that. Unfortunately for me I can't install composer on my shared host but it looks awesome nonetheless. Great work.

james2doyle commented 9 years ago

Just run composer locally and then upload the files via FTP, or use the shared hosts file uploading tool.

james2doyle commented 9 years ago

Perhaps we could keep a version with the vendor folder included. It would mean having to update it every time a plugin was changed though.

ghost commented 9 years ago

Thanks for the tip, I never thought of that. Cheers!

ghost commented 9 years ago

EDIT: Fixed by updating composer's access token.

@james2doyle I'm attempting to use Composer to install the dependancies locally, then upload, but I'm running into an API rate limit:

Could not fetch https://api.github.com/authorizations, enter your GitHub credentials to go over the API rate limit
The credentials will be swapped for an OAuth token stored in /Users/USERNAME/.composer/auth.json, your password will not be stored
To revoke access to this token you can visit https://github.com/settings/applications

I've used my GitHub credentials, but it's still giving me the error. Is this common, or is there a work around? All I want to do is install the CMS so I can see if it would be something our design firm would like to use...

james2doyle commented 9 years ago

This sounds like a problem with composer and looks agnostic to phile. You should do a quick stack overflow search or post an issue on the composer repo.

As a side note, I have noticed that packagist.org has been very slow to respond lately.