Skip to content

wiendy/trackdt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trackdt - Track Datatables

Library Editor Datatables for CodeIgniter 4

This is library for Editor datatables to run in CodeIgniter 4 environment

Install

  1. Install CI4 in correct directory and set database information in .env file
    composer create-project codeigniter4/appstarter --no-dev public_html
  2. Copy Editor datatables to /app/ThirdParty/
  3. Create symlink eg: you have Editor datatables v1.9.6
    ln -s Editor-PHP-1.9.6 editor
  4. Copy folder css and js from Datatables to /public_html/public/libraries/datatables/ (you can change it, but correct the css and js links in the Views file OR just use CDN version in your Views)
  5. Copy folder css and js from Editor Datatables to /public_html/public/libraries/editor/ (you can change it, but correct the css and js links in the Views file)
  6. Go to CI4 root directory (usualy public_html)
  7. Run command
    git clone https://github.com/wiendy/trackdt
    cp trackdt/app/* ./app -r
    cp trackdt/ThirdParty/editor/lib/config.php app/ThirdParty/editor/lib
    rm trackdt -r
    OR you can download manual and extract to CI4 folder structure respectively
  8. Create example database
    php spark migrate
  9. Input example data
    php spark db:seed TrackdtSeeder
  10. Don't forget chown folder writeable to web server user
    chown www-data.www-data writable/ -R
  11. Go to browser, open URL http://yourdomain.com/data and http://yourdomain.com/dataeditor

Releases

No releases published

Sponsor this project

Packages

 
 
 

Languages