lasotuvi-django

Chương trình an sao tử vi mã nguồn mở sử dụng django


License
MIT
Install
pip install lasotuvi-django==0.1.3

Documentation

Mã nguồn mở chương trình an sao Tử vi lasotuvi

This is a wrapper of lasotuvi into django application.

  1. Create virtual environment and activate it
  • pip install virtualenv

  • virtualenv .env

  • If you are *nix users

source .env/bin/activate

  • if you are Window users, just type

.env/Scripts/activate.bat and make sure you are working on command prompt (cmd.exe) not PowerShell

  1. Now you are working on the virtual environment
  • If you do not have Django project, go and install django and lasotuvi applications

pip install django lasotuvi-django

  • If you have django project already, just install the lasotuvi-django application

pip install lasotuvi-django

  1. Add the lasotuvi-django application to your INSTALLED_APPS by adding
# settings.py
INSTALLED_APPS = [
    # Your others applications 
    'lasotuvi_django',
]
  1. Add router to the urls.py
# urls.py
from django.urls import path, include

urlpatterns = [
    # ....
    path('lasotuvi/', include('lasotuvi_django.urls'))
]

Here is a tutorial to show you how to add lasotuvi app into a django project.

Tutorial

Hope this help!