snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Issue running php artisan app:install

Open jamesoglesby opened this issue 12 years ago • 9 comments

When running through the Composer Dialogue, I run through the php artisan app:install, then follow the prompts, it gets to the database seeding section, then seems to cut out seeding.

I checked the folder /app/database/seeds, and it seems there are more seed files then what Composer has ran.

Once Composer finishes seeding, it just goes back to the command line, with no additional prompts.

Any ideas, I really want to get this software installed at my company.

Kind Regards. James Oglesby

jamesoglesby avatar Nov 21 '14 10:11 jamesoglesby

@jamesoglesby is there anything in your cli logs in app/storage/logs? Also, does the app actually work? Seeding is entirely optional, and is just used to give you context on how things are usually set up.

snipe avatar Nov 21 '14 10:11 snipe

@snipe Ah - that makes sense. And no the app doesn't work :(, when I load internet explorer, go to http://localhost, it brings up the browser page (lists of the files in that directory).

No logs are being created.

jamesoglesby avatar Nov 21 '14 10:11 jamesoglesby

What web server are you using? What files is it showing?

You'll want your DocumentRoot (or the IIS equivalent) to be pointed to the public directory.

snipe avatar Nov 21 '14 10:11 snipe

I'm using IIS 7.

When browsing to the public directory, I get 'this page cannot be displayed'.

capture

jamesoglesby avatar Nov 21 '14 10:11 jamesoglesby

That public directory you see in that file listing is what should be your document root

snipe avatar Nov 21 '14 10:11 snipe

How do I set the document root? Sorry for all the questions, I'm reasonably new to programming and IIS.

jamesoglesby avatar Nov 21 '14 11:11 jamesoglesby

@jamesoglesby - I honestly haven't used IIS in about 10 years, but @madd15 wrote the docs for the IIS install. Have you checked those out? http://docs.snipeitapp.com/windows/README.html

snipe avatar Nov 21 '14 11:11 snipe

@snipe I have re-added the site into IIS, and this seems to have worked. I must have done something wrong the first time round!

Again, thanks for the help, and of course the software.

-James

jamesoglesby avatar Nov 21 '14 11:11 jamesoglesby

No worries - it happens. Glad you got it sorted!

snipe avatar Nov 21 '14 11:11 snipe