Glad that worked. In the past I haven't had to setup static files like that
before setting DEBUG = False, apache was just able to find them. Also, fyi,
if you want to collect the files to a different location, just add a
STATIC_ROOT variable with a path in it to your settings and collectstatic
will place them there. Of course you'd have to change the alias in the
apache .conf file as well.

On Tue, Feb 6, 2018 at 12:13 PM, Dale Lloyd <dale.ll...@gmail.com> wrote:

> Thanks Adam, following the handling static files instructions worked.
>
> Running 'python manage.py collectstatic' copies the static files to 
> /var/www/media,
> so that's the path that I used in /etc/apache2/sites-enabled/
> 000-default.conf
>
> Alias /static/ /var/www/media
>
> <Directory /var/www/media>
>         Options Indexes FollowSymLinks
>         AllowOverride None
>         Require all granted
> </Directory>
>
>
> Thanks also for pointing out that I should be using the stable, not latest
> instructions.
>
> --
> -- To post, send email to archesproject@googlegroups.com. To unsubscribe,
> send email to archesproject+unsubscr...@googlegroups.com. For more
> information, visit https://groups.google.com/d/forum/archesproject?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Arches Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to archesproject+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to