-
Notifications
You must be signed in to change notification settings - Fork 2
Installation and Local Setup
Kevin Ndung'u edited this page Jan 25, 2017
·
1 revision
This guide covers setting up the app for local development.
- Install Python 3 on your system.
- Install
virtualenvwrapper
for managing Python virtual environments.
This guide contains good documentation on installing and managing virtual environments. - Create a
virtualenv
for isolating the project's dependencies from the global Python dependencies.
mkvirtualenv -p $(which python3) slcon
We want to be specific on the Python interpreter to use inside the virtualenv, hence the-p
option. - Clone the repository
git clone [email protected]:AndelaOSP/slcon-mentor.git
cd slcon-mentor
- Ensure the
virtualenv
you created is active
workon slcon
- Install the dependencies
pip install -r requirements.txt
- Run the database migrations
python manage.py migrate
- And finally, start the app
python manage.py runserver