#SchoolTrip Schooltrip is a tool that allows students to create their own school journey. Through an online interface the teacher can set a couple of parameters defining the skeleton of the trip. Students fill the template with information on practicalities, cultural heritage sites to visit, historical information, and so on. They learn to plan a travel from a to z, while incorporating our cultural heritage. At the end, a journal-like document is generated which can be used as itinerary guidebook.
Documentation may be found at the AthenaPlus wiki.
Create a MySQL database and user (in MySQL) and update your parameters.yml (in app/config) with the database server, database name, user name and password.
Install all dependencies using the composer.json-file included in this Git repository.
Create the tables this application uses with the following command (executed in the root of your Symfony application):
php app/console doctrine:schema:update --force
Execute this command to allow FOSjsRouting to work:
php app/console assets:install --symlink web
img directory in the
mkdir -p web/img
media directory in the
mkdir -p web/media
You need to make sure that the web server user (e.g. www-data on Ubuntu) has write rights to the application sub tree.
Schooltrip requires at least one "teacher" account to function. You can create this account by executing the following command (executed in the root of your Symfony application):
php app/console fos:user:create Teacher email@example.com some_password
To promote this user to a teacher account, use:
php app/console fos:user:promote Teacher ROLE_ADMIN
Resetting user passwords
The interface does not provide a way to reset user passwords. This can be done using the CLI interface however:
php app/console fos:user:change-password Teacher some_other_password
For more commands relating to user administration, see the documentation of FOSUserBundle.