deploy on production by copying files to the remote server?

Published 5 days ago by sladda

Hi, I just wanted to ask, if this is the correct way to deploy my spark project? On my local machine my whoe spark project works fine. Then I copied all files to the server, and the welcome screen also works fine on the server. But wenn I click on Login (/login) I get an error with the js/app.js file: net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

appreciate all hints!

Ricardo
Ricardo
5 days ago (110,280 XP)

@sladda check the .env file

sladda

Is set to production

sladda

any ideas?

Cronix
Cronix
2 days ago (727,800 XP)

What os was it developed on, and what os is the production server running?

If you are running an antivirus on your machine, try turning it off and see if it still happens.

Check the owner/permissions of your files on the server.

jlrdw
jlrdw
2 days ago (244,950 XP)

Linux is

CasE sEnsiTIvE

Be aware of that.

Please sign in or create an account to participate in this conversation.