/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git git-flow wget
git clone https://github.com/MazinZ/luna-api.git
git flow init -d
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py
cd into the luna-api folder that you cloned and run:
sudo pip install virtualenv
virtualenv lunaenv
source lunaenv/bin/activate
Run the following commands (from the /luna-api directory):
pip install -r requirements.txt
python manage.py migrate
After all that is finished, make sure you're in the root of the project (/luna-api) and run foreman start
.
The api should start up at localhost:8000.