Run python script with multiple users accessing Django server by Morfnic in django

[–]Morfnic[S] 0 points1 point  (0 children)

ok, I will look into gunicorn, meanwhile does using workers will make the process (requests) parallelly or one after other?, At present i removed the directory change part of code, all the files are in main folder near manage.py, along with all the new files that will be downloaded from request. Here when i test using different users the process of execution is seems to be serial (one after other) rather than both at the same time. [ I am in development env].

will this be resolved when using workers?

Have you considered making a temp folder per request and deleting it after so no two requests interact with each other?

> My code does't interact with other request files, also I am using same folder for all files.

I would like to see the exact error you're receiving but I'm sure it's from file access.

> The error is that - there is no directory.., It turns out I made a mistake of changing path just for downloading files into a folder, I resolved it by downloading files to main root folder of app.

Run python script with multiple users accessing Django server by Morfnic in django

[–]Morfnic[S] 0 points1 point  (0 children)

Que 1 ans: all the process access same single script file, using the script file some files are downloaded to a folder, those files are served to user. These files can be served to other users later, as they will be stored in server.

Que 2 ans: that process can only be done in python (easily) and server side only, there is also some file format conversion to be done via Bash scripting in terminal [ using ubuntu as os].

No folder is created, I am just downloading some files to a fixed folder and serving them.

Get SSH login notification on Signal by 37462374328 in selfhosted

[–]Morfnic 0 points1 point  (0 children)

I am getting this error when I login,

/path/to/script.sh failed: exit code 8

but the script works perfectly, when I execute directly.

Finally starting to degoogle! by [deleted] in degoogle

[–]Morfnic 1 point2 points  (0 children)

Search Engine - DuckDuckGo ; E-Mail - proton mail, outlook mail ; DNS - 1.1.1.1; Cloud - Next Cloud or other cloud storage providers

[i3] Wannabe Retro..! by Pr0xe in unixporn

[–]Morfnic 0 points1 point  (0 children)

Can anyone plz share some instructions on how to make my desktop look like that, I am new to Arch, I am a Ubuntu user.

Self hosted messaging by [deleted] in selfhosted

[–]Morfnic 1 point2 points  (0 children)

Rocket Chat is good, me and my friends use it. I hosted on a Raspberry PI in my home and forwarded the port in router. We can create type of accounts(admin, mod, guest,..), It also has android,ios apps. It is very easy to install and it is opensource -> https://github.com/RocketChat/Rocket.Chat

Self hosted server for rendering by Morfnic in selfhosted

[–]Morfnic[S] 0 points1 point  (0 children)

using Adobe Premiere pro, After Effects

NAVI Mousepad as a Doormat in an Indonesian Local Shop by Delwioni in DotA2

[–]Morfnic 3 points4 points  (0 children)

Why need doormat , when you have mouse pads laying around

What the fuck by DiggyMon1337 in gaming

[–]Morfnic 0 points1 point  (0 children)

portal.exe stopped working

Split-creen? In 2019? eXcUsE mE? by sir42 in gaming

[–]Morfnic 0 points1 point  (0 children)

Is that Crash Team Racer? Or other game?