Skip to content
Control the work is is a web application to control the checkins and checkouts in the workplace.
Branch: master
Clone or download
amieiro Update the .env.example content and the installation command
Resolve the problem that you can see in #3
Update the .env.example file to change some default values (APP_ENV=production and APP_DEBUG=false).
Update some small checks in the installation command
Update some instructions in the readme.md file
Latest commit 1ab6d7d May 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Update the .env.example content and the installation command May 11, 2019
bootstrap This is where it all begins... Apr 22, 2019
config Add the datatables with the logs to the dashboard. Translate the dash… Apr 30, 2019
database Add a table to store the app preferences in JSON May 8, 2019
public Add the public assets May 8, 2019
resources Resolve a bug in the user update method May 9, 2019
routes Finish the CRUD of users May 6, 2019
storage This is where it all begins... Apr 22, 2019
tests Resolve a bug in the user update method May 9, 2019
.editorconfig This is where it all begins... Apr 22, 2019
.env.example Update the .env.example content and the installation command May 11, 2019
.gitattributes This is where it all begins... Apr 22, 2019
.gitignore Add the company scaffold Apr 23, 2019
LICENSE Finish the user login control Apr 24, 2019
artisan This is where it all begins... Apr 22, 2019
composer.json Add the countries list to the project from a CSV file May 2, 2019
composer.lock Add the countries list to the project from a CSV file May 2, 2019
package-lock.json Add the public assets May 8, 2019
package.json Start the user login control Apr 24, 2019
phpunit.dusk.xml Add some frontend test May 7, 2019
phpunit.xml This is where it all begins... Apr 22, 2019
readme.md Update the .env.example content and the installation command May 11, 2019
server.php This is where it all begins... Apr 22, 2019
webpack.mix.js Broke the main template in smaller templates Apr 30, 2019
yarn.lock Add the public assets May 8, 2019

readme.md

Control the work

Control the work is is a web application to control the checkins and checkouts in the workplace.

  • Responsive.
  • Multilingual.
  • Easy to use.

Installation

Access to the server folder:

$ cd /var/www/your-domain.com

Download the repo from GitHub into this folder:

$ git clone https://github.com/control-the-work/control-the-work .

Install the dependencies:

$ composer install --no-dev

Create the .env file where the application stores some important variables:

$ cp .env.example .env

Change the APP_URL in the .env file to adapt it to your installation:

APP_URL=http://controlthework.test

Change the database values in the .env file to adapt it to your installation:

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=control-the-work
DB_USERNAME=homestead
DB_PASSWORD=secret

Change the email values in the .env file to adapt it to your installation:

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=no-reply@controlthework.com

Set a new application key:

$ php artisan key:generate

Execute the migration to create the tables and to populate it with some required data:

$ php artisan migrate --seed

If the database is not empty, please delete all the information if it is the first installation. The next command deletes all the tables and the information in the database:

$ php artisan migrate:fresh --seed

Execute the installer and answer to the questions:

$ php artisan control-the-work:install 

You can execute the installer in English (en) or Spanish (es) using the "--language" parameter:

$ php artisan control-the-work:install --language=es

Be careful to point your Virtual Host (Apache) or your Server Block (NGINX) to the "public" folder.

Virtual Host (Apache)

<VirtualHost *:80>
    DocumentRoot "/var/www/your-domain.com/public"
    ServerName www.your-domain.com
    # Other directives here
</VirtualHost>

Server Block (NGINX)

server {
    listen 80;
    listen 443 ssl http2;
    server_name www.your-domain.com;
    root "/var/www/your-domain.com/public";
    # Other directives here    
    }

That's all folks!

Security Vulnerabilities

If you discover a security vulnerability within "Control the work", please send an e-mail to Jesús Amieiro via hello@controlthework.com. All security vulnerabilities will be promptly addressed.

License

"Control the Work" is open-source software licensed under the AGPL license.

Components

This project uses this components:

You can’t perform that action at this time.