-
Notifications
You must be signed in to change notification settings - Fork 0
spirit-fhs/studweb
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is another application for the Spirit project from the Faculty of Computer Science
of the University of Applied Sciences Schmalkalden. In GitHub it is called "studweb" because
it will be the new front end for the students.
Feature list and more details coming soon!
Programming hints:
* PHP with Zend Framework
* HTML5
* MySQL (for development - later it will be REST for productional usage)
INSTALLATION:
Please fit the following parameters in the file application.ini to your own needs:
resources.db.adapter = "PDO_MYSQL"
resources.db.params.dbname = "spirit"
resources.db.params.host = localhost
resources.db.params.username = "spiritUser"
resources.db.params.password = "spirit"
In the sub-directory "scripts/" are the load scripts for the actual db-structure and testing data stored.
You have to execute this script from a terminal or the DOS command line with the following command:
% php scripts/load.mysql.php --withdata
Now you have a running MySQL database.
You will also need to point your web server to the
application. Using apache, you could add a vhost as follows:
<VirtualHost *:80>
ServerAdmin spirit@fh-schmalkalden.de
DocumentRoot <PATH_TO_STUDWEB>/public
ServerName studweb
SetEnv APPLICATION_ENV "development"
<Directory <PATH_TO_STUDWEB>/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
You **must** substitute the correct path to this directory for
<PATH_TO_STUDWEB>. Feel free to substitute any value for the
ServerName directive; make sure that name and the associated IP address
are in your hosts file or in your DNS.
You have to write the following line in your hosts file:
127.0.0.1 studweb
Finally, point your browser to http://studweb/ to see the
application in action.
For the development the following user is available:
USER: Student
PW: geheim
About
Spirit-Website/Webapp for Students
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published