Ketabdan is an open source platform to publish electronic books, podcasts, short stories and more
You need to install the following tools
- Docker community edition (CE)
- Docker Compose
or if you prefer you can use virtualenv
We use virtualenv
and mainly Python 3.6
for the initial development. Or you can work with the docker containers
which uses Python 3.6
You need to install Docker and Docker compose to be able to run this locally. After successful installation the following command will help you to launch your application at http://localhost:8000
docker-compose up
Build coker imgages
docker-compose build
Start/Stop dockers
docker-compose up
docker-compose down
Run Django commands
docker-compose run web python manage.py makemigrations
Remember if you commands create files in your project directory, you need to change the permissions from root to
your local user by sudo chown -R local_user_name:local_user_group directory
In recent versions of Django you need to create the migrations like this:
python manage.py makemigrations podcasts