-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
- Python 2.7.12
- python-pip
- python-virtualenv
- ElasticSearch 2.x
-
Clone the repository.
-
Move to the main directory. Setup the virtual environment.
virtualenv <name>
-
Activate the virtual environment.
. <path-to-venv>/bin/activate
-
Install the python packages required.
pip install -r requirements.txt
-
Setup the local environment.
cp appstore/settings/local.sample.env appstore/settings/local.env
-
Move to
src
directory. Setup the database.
python manage.py makemigrations
python manage.py migrate
To create a new superuser, use the following command :
python manage.py createsuperuser
-
Run the server.
python manage.py runserver <port>
By default, the site opens up in port8000
.
NOTE : The Django Admin site can be accessed at localhost:<port>/admin/
. Login using a superuser account.
To use the Search feature, ElasticSearch needs to be setup. Refer the Developer Documentation for more details.