Skip to content

tsugiproject/tsugi-parent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tsugi Parent Site

In general, a Tsugi store and apps will be installed at the /tsugi path, leaving the root path to be a web site where the store owner can put up any site they like with documentation, instructions, etc. The Tsugi parent site can use any technology but the two most common approaches are static HTML possibly mixed in with PHP.

You can see this in action by comparing https://www.tsugicloud.org (a static html site) with https://www.tsugicloud.org/tsugi (a tsugi store).

One strategy is just put a page in that does not even link to Tsugi at all. Simply introduce the user to how your local app store is used. As an example you could install your Tsugi store into your LMS using Content-Item / Deep-Linking for everyone and this page is merely documentation. You could even make the top page a single redirect to a completely different web page and host this parent site using any technology you like.

Instructions for Installing Tsugi

To install a Tsugi - see the following repositories

  • Installing Tsugi on Docker, ubuntu or Amazon EC2 link

Links into Tsugi

If you want this to be a site (like TsugiCloud) that allows login, and encourages folks to login and apply for keys, or look at the cool tools on your site, you will need to embed various links into Tsugi in the parent web site.

  • /tsugi Will link to the top page in Tsugi.

  • /tsugi/store Will link to app store in Tsugi.

  • /tsugi/admin Will link to the admin page in Tsugi. You may decide not to expose this link to end users and just share it with your administrators.

  • /tsugi/login Will link to the Tsugi login page (assuming Google login is setup).

  • /tsugi/logout Will log the user out.

These pages will have a links at the top and the left most navigation should link back to this page. This is set in the tsugi/config.php file.

$CFG->servicename = 'MyStore';
$CFG->apphome = 'https://www.mystore.edu';

You can see this in action on tsugicloud.org - the text and destination of the upper left link go back to the parent site. The apphome value does not have to be on the same web server as /tsugi.

When you first go to the /tsugi page, you will not see an "Admin" link. The link is hidden by default until you manually navigate to /tsugi/admin and enter the login password successfully. At that point, Tsugi sets a cookie and your browser starts seeing the "Admin" link. This is to keep from showing 99.9% of your users an Admin link they cannot use on every screen. Is the Tsugi site is in "DEVELOPER" mode (for developers on their desktop), the Admin link appears all the time.

Making a Koseu Site

With some work, you can turn this parent site into a standalone LMS using Koseu. Koseu is a Tsugi-based LMS/MOOC platform that is used to build the content and site for:

Please join the Tsugi Developers List if you are interested in building a Koseu site.

Hosting Tsugi

Instructions for hosting your own Tsugi server are available at:

You can use Tsugi tools for free at:

You can get commercial support for Tsugi at

About

A Simple Site to Enclose a Tsugi Store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published