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

No install folder #61

Open
davidtsong opened this issue Nov 24, 2014 · 10 comments
Open

No install folder #61

davidtsong opened this issue Nov 24, 2014 · 10 comments

Comments

@davidtsong
Copy link

There is no install wizard anymore. I have been trying to install 92five for the last 4-5 hours. Please update your documentation with a good tutorial. How do I install it?

@chintanbanugaria
Copy link
Owner

Oh.. sorry for inconvenience. There is no install folder. It is setup as a route. Please have a look at forums for details installation instruction. where have you stuck ? Is it possible to get a access of url where you are installing.

@davidtsong
Copy link
Author

The forums does not have any detailed instructions . There's only a small summary of how to do it. I'm trying to install from url/92five/install ? The home login page works for me. But that's the only thing that I've gotten to work so far.

@chintanbanugaria
Copy link
Owner

Sorry for the late reply. and the inconvenience. is it possible to get the url where you are trying to install ? or are you installing on your machine ?

@davidtsong
Copy link
Author

I'm installing onto my vps.

@spicydog
Copy link

Have you enabled mod rewrite yet?
Otherwise you have to go to url/92five/index.php/install instead.
The installation process will check the system requirements, you have to follow them all.
However, if you stuck at a red error page after the step of entering the database information, install/database, just like the image below.

Oops !Something Went Wrong.
Something went wrong and we have noted that. Thank you for understanding.
image

You also need to change permission of the file in "app/config/database.php" to be writable or just 777 instead.
After you have done installing, then change the permission of database.php back to normal, maybe 644, for security purposes. 👍

@davidtsong
Copy link
Author

Going to the install url gives me a 404.

@davidtsong
Copy link
Author

I think this is because of the rewrite issues. Do you have a nginx configuration that does the same?

@chintanbanugaria
Copy link
Owner

Here's mine nginx server configuration for 92five app. Hope it helps

server {
        #listen   80; ## listen for ipv4; this line is default and implied
        #listen   [::]:80 default ipv6only=on; ## listen for ipv6

        root /usr/share/nginx/www/92fiveapp;
        index index.html index.htm index.php;

        # Make site accessible from http://localhost/
        server_name 92fiveapp.com;
        # Enforce No WWW - I put this in an include:
        # include /etc/nginx/includes/enforce_non_www;
        if ($host ~* ^www\.(.*))
        {
                set $host_without_www $1;
                rewrite ^/(.*)$ $scheme://$host_without_www/$1 permanent;
        }

        # Check if file exists
        if (!-e $request_filename)
        {
                rewrite ^/(.*)$ /index.php?/$1 last;
                break;
        }

         # catch all
        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to index.html
                try_files $uri $uri/ /index.php$is_args$args;
                # Uncomment to enable naxsi on this location
                # include /etc/nginx/naxsi.rules
        }

        location /doc/ {
                alias /usr/share/doc/;
                autoindex on;
                allow 127.0.0.1;
                deny all;
        }
        error_page 404 /404.html;

        # redirect server error pages to the static page /50x.html
        #
        #error_page 500 502 503 504 /50x.html;
        #location = /50x.html {
        #       root /usr/share/nginx/www;
        #}


        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000

        #
        location ~ \.php$ {
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini

                # With php5-cgi alone:
        #       fastcgi_pass 127.0.0.1:9000;
        #       # With php5-fpm:
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_index index.php;
                include fastcgi_params;
        }

        # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        location ~ /\.ht {
                deny all;
        }
}

@osteth
Copy link

osteth commented Jun 5, 2016

your download link is broken.
Also the composer dont use apache or nginx it its own thing so please update install guide.

@chintanbanugaria
Copy link
Owner

Download link has been updated. Thanks for noticing. I didn't got your point regarding composer. Could you please point out where its mentioned ? Thanks

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

4 participants