forked from overhangio/tutor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temp: revert: attempt at copying assets from container
This reverts commit 59088a78747e189971877319a7ff9a6d8f18a21a.
- Loading branch information
1 parent
1217809
commit ab2fe22
Showing
4 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd /openedx/edx-platform | ||
|
||
for path in node_modules common/static/bundles lms/static/css lms/static/certificates/css cms/static/css ; do | ||
if [[ -L "$path" ]] ; then | ||
rm -rf "$path" | ||
elif [[ -e "$path" ]] ; then | ||
mv "$path" "${path}.bak" | ||
fi | ||
ln -s "/openedx/devcache/$path" "$path" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters