BE application for tcbern
After updating composer.json (new dependency or ...), or after creating a new model in private/models, run this command to update autoloading scripts
php composer.phar update
# if the update does not work run install
php composer.phar install
The novice script provides a primitive means of creating, migrating and seeding the database.
See templates located in database/creations
, database/migrations
and database/seeds
.
To create/migrate and seed your database:
php novice create
php novice migrate
php novice seed
The application is built with npm and bower.
- Install
cd webapp
npm install
bower install
- Start
# Start locally a Node.js server listening on the port 8000
npm start
http://localhost:8000/app/index.html
The info must be written by following the markdown system (see ttps://help.github.com/articles/markdown-basics/) and its extension (see https://help.github.com/articles/writing-on-github/)
- Access the webapp in the android browser
- Once displayed, add it to the browser's favorites
- Press and hold the dongle in the favorite's list and select "Add a shortcut"
- Access the webapp in the browser
- Select the favorite icon next to the url box
- Select "Add to the homescreen"