Giter VIP home page Giter VIP logo

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
[email protected]

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 [email protected]. 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:

control-the-work's Projects

control-the-work icon control-the-work

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.