Skip to content

AMKuperus/TAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TAS

TAS: Student Activity Tracker based on Nette Framework.

Features

Making it easy to follow your students activity.

  • students can easily add or edit activity's to TAS.
  • monitor can easily see all activity's or activity sorted by group.

Safe environment

  • Automatic logout after 30 minutes of inactivity.
  • Roles seperate abilities.

Seperate user-roles with their own seperate functionality

  • a user is a registered person who still needs approval by a monitor/admin.
  • a student is a person who is a student belonging to a group and who can make/edit/finish their activity's.
  • a monitor can view all users and students and assign roles to users making them students.
  • a monitor can add groups to the system and apply a group to a student.
  • a monitor can view all groups and all students per group.
  • a administrator can see all registered users by all/users/students/monitors/administrators.
  • a administrator has the power to alter roles for all roles.

To come: Functional registration process that keeps out unwanted users.

  • Registration requires email-validation after which accounts need to be activated by monitor by changing role's from user to student.
  • Accounts that did not validate their email will not be able to be granted access.

Version

Current version is V0.6 Beta stable.

TODO/Still to come

  • Improved registration method
  • Improved login method
  • Add email-verification to the process of registration
  • Add a forget password function
  • Search-function for monitor
  • Improve css
  • Improve content

Installation setup

In a 5-step setup you can configure youre own TAS: Student Activity Tracker.

Step 1 Get this repository

Get the content off this repository and save it on your hard drive in your local-server environment, like htdocs-folder.

Step 2 Install Nette/sandbox

Run composer update on the folder where you left this repository. To do this run a terminal (unix/mac) or hit windowslogo and type cmd in search (win(7?))

Then in the terminal go to the TAS directory. Once in the TAS-dir type composer.phar update or composer update. Composer should now update the directory to contain Nette/sandbox.

Step 3 Add the database

In the folder TAS/DBDATA you will find a file called tas.sql. Open this file and copy-paste the entire content to youre phpmyadmin-SQL-window. It will automatic add a database and fill it with the correct tables and settings. It will also automatically create 3 basic-users for testing.

|| Username: student Password: 1234567 || Username: monitor Password: 1234567 || Username: admin Password: 1234567 || When taking TAS System in official use remove these test-users!

Step 4 Configure TAS

In the folder app/config/ you will find a file called config.local.neon.sample Follow the instructions from the file and the system is good to go. ->There can be a problem with the dns-line of the file rejecting ''. If this occurs try replacing the '' with this ' (the error occuring is SQLSTATE[HY000] Access denied)

Step 5 Create missing folder

In the TAS-directory create 2 new folders with the following names:

  • log
  • temp

Now your installation should be good to go.

Trouble installing?

Scroll further and read more about Nette and Installation. The installation explained there is a fresh installation.

Follow those steps and then once installed you can add the content of this repository and continue with step 3 and 4 of this manual.

If you still can't make it work try to read more about installing Nette on the Nette-website.

About

TAS is developed by AMKuperus and Guido Leijten as a project for ITVitae.

picture alt

Nette Sandbox

This is a simple pre-packaged and pre-configured application using the Nette that you can use as the starting point for your new applications.

Nette is a popular tool for PHP web development. It is designed to be the most usable and friendliest as possible. It focuses on security and performance and is definitely one of the safest PHP frameworks.

Installation

The best way to install Web Project is using Composer. If you don't have Composer yet, download it following the instructions. Then use command:

composer create-project nette/sandbox path/to/install
cd path/to/install

Make directories temp/ and log/ writable.

Web Server Setup

The simplest way to get started is to start the built-in PHP server in the root directory of your project:

php -S localhost:8000 -t www

Then visit http://localhost:8000 in your browser to see the welcome page.

For Apache or Nginx, setup a virtual host to point to the www/ directory of the project and you should be ready to go.

It is CRITICAL that whole app/, log/ and temp/ directories are not accessible directly via a web browser. See security warning.

Requirements

PHP 5.6 or higher. To check whether server configuration meets the minimum requirements for Nette Framework browse to the directory /checker in your project root (i.e. http://localhost:8000/checker).

Adminer

Adminer is full-featured database management tool written in PHP and it is part of this Sandbox. To use it, browse to the subdirectory /adminer in your project root (i.e. http://localhost:8000/adminer).

License

  • Nette: New BSD License or GPL 2.0 or 3.0
  • Adminer: Apache License 2.0 or GPL 2

About

TAS: Student Activity Tracker based on Nette Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published