The system for your office.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
doc/assets/images
mobile
src/Application
test/Application/Test
web
.bowerrc
.editorconfig
.gitignore
.travis.yml
LICENSE
README.md
bower.json
composer.json
index.html
phpunit.xml

README.md

README

Office-O-Mat

A simple web application for office use, such as time and events tracking, employment management and more!

Build status

Build Status

Requirements & Tools & Helpers

Setup / Development

  • Navigate yor your web directory: cd /var/www
  • Create a new project: composer create-project bobalazek/office-o-mat --no-scripts
  • Configure database (and maybe other stuff if you want): app/configs/global.php or app/configs/global-local.php.dist (in case you will deploy it and need a different local configuration. Just rename the global-local.php.dist to global-local.php and set your own configuration)
  • Run the following commands:
    • composer install
    • bin/console orm:schema-tool:install --force (to install the database schema)
    • bower update (to install the front-end dependencies - you will need to install Bower first - if you haven't already)
    • bin/console application:database:hydrate-data (to hydrate some data)
  • You are done! Start developing!

Database

  • We use the Doctrine database
  • Navigate to your project directory: cd /var/www/my-app
  • Check the entities: bin/console orm:info (optional)
  • Update the schema: bin/console orm:schema-tool:update --force
  • Database updated!

Administrator login

With the bin/console application:database:hydrate-data command, you will, per default hydrate 1 user (which you can change inside the app/fixtures/users.php file):

  • Admin User (with admin permissions)
    • Username: admin or admin@myapp.com
    • Password: test

Commands

  • bin/console application:environment:prepare - Will create the global-local.php and development-local.php files (if they do not exist)
  • bin/console application:database:hydrate-data [-r|--remove-existing-data] - Will hydrate the tables with some basic data, like: 2 users and 6 roles (the --remove-existing-data flag will truncate all tables before re-hydrating them)
  • bin/console application:storage:prepare - Will prepare all the storage (var/) folders, like: cache, logs, sessions, etc.
  • bin/console application:translations:prepare - Prepares all the untranslated string into a separate (app/locales/{locale}_untranslated.yml) file. Accepts an locale argument (defaults to 'en_US' - usage: bin/console application:translations:prepare --locale de_DE or bin/console application:translations:prepare -l de_DE )

Other commands

Preview

Mobile - Home

Mobile Home preview

Mobile - Login - Employee

Mobile Login Employee preview

Mobile - Login - Employee - Detail

Mobile Login Employee Detail preview

Mobile - Dashboard - Employee

Mobile Dashboard Employee preview

Mobile - Dashboard - Employee - Working Time - Edit

Mobile Dashboard Employee preview

Mobile - Dashboard - Employee - Working Time - Remove

Mobile Dashboard Employee preview

License

Office-O-Mat is licensed under the MIT license.