GithubHelp home page GithubHelp logo

fvas-elearning / tkbase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tropotek/tkbase

0.0 0.0 0.0 29.24 MB

A base MVC site based on the Troptoek libs

PHP 64.35% CSS 5.23% JavaScript 6.49% HTML 22.62% TSQL 1.30%

tkbase's Introduction

tkbase

Project: tkbase
Web: http://www.tropotek.com/
Authors: Michael Mifsud http://www.tropotek.com/

A base site using the Tk framework, use this as a starting point for your own site.

Contents

Installation

  1. First setup a database for the site and keep the login details handy.
  2. Make sure you have the latest version of composer [https://getcomposer.org/download/] installed.
  3. Use the following commands:
# git clone https://github.com/tropotek/tkbase.git
# cd tkbase
# composer install
  1. Edit the /src/App/config/config.php file to your required settings.
  2. You may have to change the permissions of the /data/ folder so apache can read and write to it.
  3. To enable debug mode and logging edit the /src/config/config.php file to suit your server. tail the log for more info on any errors.

Upgrading

# git reset --hard
# git checkout master
# git pull
# composer update

Warning: This could potentially break the site. Be sure to backup any DB and site files before running these commands

Introduction

Editing The HTML

In the folder /html you will find all the content templates for the site.

Template URL paths

When editing a path to a file there are 3 types of paths, use the first one to access theme files and use the other two to access files outside of the theme. For example if we where editing the public.html template:

  1. Theme Relative: ./css/somefile.css would be translated into http://domain.com/html/public/css/somefile.css
  2. Full Path 1: css/somefile.css would be translated into http://domain.com/css/somefile.css
  3. Full Path 2: /css/somefile.css would be translated into http://domain.com/css/somefile.css

tkbase's People

Contributors

tropotek avatar fvas-elearning avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.