mardi 20 décembre 2016

Run a laravel application

I am absolutely new to laravel. I have an open source laravel application for which I have downloaded the code. I was able to get the home page running using these links:

none of the other webpages are running. I have to manually change the path in the address bar from localhost/public to localhost/public/index.php. Even after this, the webpage that executes, shows no css.If I try to register a user, I get

SQLSTATE[HY000]: General error: 1364 Field 'username' doesn't have a default value

I have referred to the following links in an attempt to solve the issue but no use -

I don't have any data in the database as I cannot understand how to import it. My directory structure is

/var/www/laravelApplicaton
-app/
-artisan
-bootstrap/
-composer.json
-composer.lock
-config/
-database/
-gulpfile.js
-package.json
-phpunit.xml
-public/
-readme.md
-resources/
-routes/
-server.php
-storage/
-tests/
-vendor/

I am using ubuntu 16.04 server; Php7.0.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire