Last active
May 8, 2016 21:20
-
-
Save jie-qin/37c829aae41dbd3deba438a667e534c2 to your computer and use it in GitHub Desktop.
Install caravel on Ubuntu
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
# First update apt-get no matter what | |
$ sudo apt-get update | |
$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip | |
# Install caravel | |
$ sudo pip install caravel | |
# Create an admin user | |
$ sudo fabmanager create-admin --app caravel | |
# Initialize the database | |
$ sudo caravel db upgrade | |
# Create default roles and permissions | |
$ sudo caravel init | |
# Load some data to play with | |
$ sudo caravel load_examples | |
# Start the development web server | |
$ sudo caravel runserver -d | |
# If need MySQL | |
$ sudo apt-get install libmysqlclient-dev | |
$ sudo pip install mysql-python |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this working on windows but couldn't figure it out for Linux. Thank you~