Skip to content

Instantly share code, notes, and snippets.

@jie-qin
Last active May 8, 2016 21:20
Show Gist options
  • Save jie-qin/37c829aae41dbd3deba438a667e534c2 to your computer and use it in GitHub Desktop.
Save jie-qin/37c829aae41dbd3deba438a667e534c2 to your computer and use it in GitHub Desktop.
Install caravel on Ubuntu
# 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
@get-data-
Copy link

I got this working on windows but couldn't figure it out for Linux. Thank you~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment