Last active
September 22, 2017 13:54
-
-
Save efischer19/542ac3ce03907307850fc490f69b2551 to your computer and use it in GitHub Desktop.
Developing the assets page with studio-frontend
This file contains hidden or 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
#!/bin/bash | |
# the "big hammer", kills any docker instances dead | |
sh ~/scripts/docker_destroy_all.sh | |
# delete *everything* I've been working on - it's all checked in right? | |
rm -rf ~/work/* | |
cd ~/work | |
sh ~/scripts/studio_frontend_development_env.sh | |
echo "That's all, folks!" | |
echo "Hit http://localhost:18010/assets/course-v1:edX+DemoX+Demo_Course/ (may need to sign in, [email protected]/edx) to see the fancy new assets page in action" |
This file contains hidden or 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
#!/bin/bash | |
# Stop all containers | |
docker stop $(docker ps -a -q) | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
This file contains hidden or 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
#!/bin/bash | |
# re-build docker devstack | |
git clone [email protected]:edx/devstack.git | |
cd devstack | |
make requirements | |
make dev.clone | |
make dev.provision # this takes a while to finish, FYI | |
make dev.up.all # containers need to be running for the next step | |
# add studio-frontend to devstack | |
cd ../src | |
git clone [email protected]:edx/studio-frontend.git | |
cd studio-frontend | |
make devstack-install | |
make asset-page-flag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment