-
Notifications
You must be signed in to change notification settings - Fork 55
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
Readme is missing config parameters documentation #50
Comments
I just saw there is a dup issue #6, but I hope my extra note on "basePath" above would help other users. |
Thank you for your issue. I agree that the documentation can be more detailed on getting things running. |
Speaking about config, is there a way of configuring with the standalone ui.php file the |
Well, that is why I added |
I don't catch how to use this remark... |
@albu77 You can create a file named 'ui.php' with config and use:
To load a "verified" and "easy to update" version of the software. In your config file you can add:
Like this:
I hope this helps. For more documentation on the config parameters under 'api' see: |
Another method is the support of environment variables for the configuration of the 'api':
and also:
See: https://github.com/mevdschee/php-crud-api#configuration |
Thanks a lot about all these details. I should read more mindfully the doc.... |
@albu77 Don't worry about it, I'm happy to help you! Enjoy the software. |
The Config.php support many more config parameters, but README is not documented it.
Besides this, a note on "basePath" parameter:
By reading the code, I see Config.php support "basePath" parameter. This is needed if user where to place ui.php in a sub path of web server document root. Example (http://myhost/my-app/ui.php). In this case, you must set config like this:
Note that the
ui.php
part is required, or else the style will not render properly!The text was updated successfully, but these errors were encountered: