Suggestion on the Installation Guide 2.4 Debian
  • The installation for me worked fine once I realized I was making a simple error.
    The documentation reads as follows.

    8. Collect static files from the Booktype component applications into a single directory, using the 'collectstatic' option. If you are using the production profile, you should also use the 'compress' option.

    ./manage_dev.py collectstatic

    My suggestion is to take the comment that says to use the "compress option" and actually somehow write the command out as I totally skipped this which renders the site unusable.
    It's a bit awkward as you use "dev" everywhere but just a suggestion.

    e.g.

    ./manage_dev.py collectstatic

    if you are using prod.py

    ./manage_prod.py compress

    I am still getting a 500 on the Control Panel but it appears to be here:
     'version': gitrepo.tags[-1],

    I can't be bothered to figure out why so I just changed version to "1" to get by it :)

    Thanks for the documentation write up, it's pretty decent and it's nice that you include what each thing is doing
    Post edited by Juanny Cinco at 2018-08-07 00:41:25
  • 2 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 839Member, Sourcefabric Team
    Hi Juanny,

    Thanks for the tip! I have added this to step 8 of 'Creating a Booktype instance' here:


    Cheers!

    Daniel
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 839Member, Sourcefabric Team
    I can reproduce the issue with gitrepo.tags which should be populated with the git tag checked out, for example 'v2.3.0'. This clearly doesn't work so I will file a bug ticket for that. Thanks for the report!