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

I new with this #34

Open
alnux opened this issue Apr 6, 2016 · 3 comments
Open

I new with this #34

alnux opened this issue Apr 6, 2016 · 3 comments

Comments

@alnux
Copy link

alnux commented Apr 6, 2016

Hi there,

Someone can tell me how to start it without vagrant. Becouse i cant find any idex.php
i want to taste this framework
thanks

@rojr
Copy link
Member

rojr commented Apr 6, 2016

@alnux
You're going to have to enable Rewrite rules for Apache; and then make sure to Include the Rhubarb rewrites for Apache. That should look something like:
Include /path-to-your-directory/vendor/rhubarbphp/rhubarb/platform/standard-development-apache-rewrites.conf

If you clone the Rhubarb bootstrap project and leave the vagrant out, it should give you a good starting point.

Don't forget to copy over the ./vagrant/site.config.php -> ./settings/site.config.php.

@alnux
Copy link
Author

alnux commented Apr 7, 2016

I did all of you say but where is the index.php to run main web? becouse apache just show three files and when i try to run someone it show me error like next of random file that i tryed to see

*Fatal error: Class 'Rhubarb\Patterns\Layouts\BaseLayout' not found in E:\BaseDev\Servidor\www\ejemplo\src\Layouts\DefaultLayout.php on line *

Could someone help me how to run this framework without vagrant???

by the way i started with this
composer create-project rhubarbphp/bootstrap-webapp blog

but just say how to run with vagrant

@acuthbert
Copy link
Contributor

Hi @alnux, Rhubarb doesn't have an index.php - the rewrite rule for apache routes all requests to the rhubarb/platform/execute-http.php front controller script. You then need to set up url handlers to map URLs to classes.

Have you tried reading through the early documentation here:

http://www.rhubarbphp.com/manual/rhubarb/files-and-directories#content

I'll check out the bootstrap example and perhaps provide a readme section describing how to get it running without vagrant.

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

3 participants