Link to project Quran Mobi App
Production:
Development:
Run the following terminal commands to get started:
Development
git clone https://github.com/it-muslim/quran-words.git
cd quran-words
cp .env.example .env
pip install -r django\requirements\development.txt
python django\manage.py runserver
python django\manage.py createsuperuser
Production
git clone https://github.com/it-muslim/quran-words.git
docker-machine start default
cd quran-words
cp .env.example .env
- Edit .env file DJANGO_EXECUTION_ENVIRONMENT line, to run project with postgres database
DJANGO_EXECUTION_ENVIRONMENT=PRODUCTION
andDEBUG=0
- Windows: If it's first time you run project on machine, create volume to store persistent data (postgres)
docker volume create --name=postgres
and rundocker-compose -f docker-compose-win.yml up
- Linux/macOS:
docker-compose up
- Windows: If it's first time you run project on machine, create volume to store persistent data (postgres)
- Check containers are running:
- Windows: http://192.168.99.100/admin/
- Linux/macOS: at http://127.0.0.1/admin/
You can run the tests using the following command
python django/manage.py test
Additional information can be found in our wiki
You can access documentation by relative /api/
path of running api server
API schema located at /api/schema/
Administration panel available at `http://url-or-ip-address/admin/`
- Client built on Angular and requires Node.js version 10.9.0 or later.
Run the following terminal commands to get started:
cd frontend/angular
npm install
npm run start
access frontend at http://127.0.0.1:4200
- Karma
npm run test
- Protractor
npm run e2e