On Thursday 11 May 2017 05:28:33 johnf wrote:
> I have researched this issue and I know all I have to do is read the
> doc's. But I can seem to get the correct path working to allow the
> website to find the correct files in my Media,CSS and JS folders.
Read this wikipedia piece[1]. And then con
on might be like the following one:
> [Unit]
> Description=gunicorn-pesweb daemon
> After=network.target
>
> [Service]
> User=z
> Group=www-data
> WorkingDirectory=/home/z/pesweb
> ExecStart=/home/z/pesweb/web_env/bin/gunicorn --bind
> u
Hello,
Hopefully these drawings of mine can help.
How Django static files work in production
If you have trouble understanding |STATIC_ROOT|, |STATIC_URL|,
|collectstatic|, and the web server’s configuration, it’s because some
things are better said with pictures than with text.
ome/z/pesweb
> ExecStart=/home/z/pesweb/web_env/bin/gunicorn --bind
> unix:/home/z/pesweb/pesweb.sock pesweb.wsgi:application
>
> [Install]
> WantedBy=multi-user.target
>
> Hope this helps!
>
> Cheers,
> Carl
>
>
>
> Original Message
> Subject: trouble with s
Service]
User=z
Group=www-data
WorkingDirectory=/home/z/pesweb
ExecStart=/home/z/pesweb/web_env/bin/gunicorn --bind
unix:/home/z/pesweb/pesweb.sock pesweb.wsgi:application
[Install]
WantedBy=multi-user.target
Hope this helps!
Cheers,
Carl
Original Message ----
Subject: trouble with
nf
Sent: Thursday, May 11, 2017 7:29 AM
To: Django users
Subject: trouble with setting static for img and css
Hi folks,
I have researched this issue and I know all I have to do is read the doc's.
But I can seem to get the correct path working to allow the website to find the
correct files
Hi folks,
I have researched this issue and I know all I have to do is read the
doc's. But I can seem to get the correct path working to allow the
website to find the correct files in my Media,CSS and JS folders.
I'm using 1.11.x and have the following setup in OS file system.
I have set DEB
7 matches
Mail list logo