Skip to content

Move static folder out of the Python module tree

Currently in swh-web source code, the static folder is located in the swh/web/ Python source tree.

It could be moved in the root folder of swh-web as this directory does not contain any Python code but rather image files but also webpack generated bundles.

This will imply adjusting Django configuration and MANIFEST.in content to locate static assets.

Also, the packaging of those files will need to be updated (likely by using this setuptools feature)


Migrated from T2155 (view on Phabricator)

Edited by Phabricator Migration user
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information