GithubHelp home page GithubHelp logo

andressegeo / the-toolbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from knlambert/the-toolbox

0.0 1.0 0.0 1.87 MB

A set of tools to manage your projects.

License: GNU General Public License v3.0

TypeScript 59.78% JavaScript 0.62% CSS 15.36% HTML 17.31% Python 6.09% Shell 0.84%

the-toolbox's Introduction

The-toolbox

Features

  • Hours counting (calendar style).
  • Project management (Linking documents, following time left, members, task affectation, ...).
  • Fully responsive, progressive app.

Structure

The repository uses npm & bash for automation.

The folders & files :

  • client : Frontend code (Angular2).
  • database : Script & workbench schema for the database.
  • assets : Various resources for the front end.
  • requirements : The requirements of the App (Python pip).
  • tasks : Automated bash tasks.
  • config.py : App configuration. Only a dummy example.
  • main.py : Entry point.
  • tsconfig : Typescript config.
  • webpack.[dev|prod].config.js : Webpack configuration depending what you want to do.

Setup

We supply in bash a set of commands to make your life easier.

  • Setup the project.
./task/setup.sh

The database

This application uses MySQL. To develop localy, you need to install docker and a Mysql image.

# Install docker
sudo apt-get install docker
# Pull the image
sudo docker pull mysql
# Start the local server
sudo docker run --name hours-count -p 3306:3306 -e MYSQL_ROOT_PASSWORD=localroot1234 -d mysql
# Install MySql Client
sudo apt-get install mysql-client
# Connect to DB
mysql -h 127.0.0.1 -u root -p

Dev mode

When the configuration & the database are set, just start the developpement server :

source venv/bin/activate
python2 main.py

Then compile the client :

node_modules/webpack/bin/webpack.js --watch --config webpack.dev.config.js

MySQL database provisionning

The repo contains an ansible script to create the MySQL database starting from a Ubuntu 17.04. The command to start the script is :

ansible-playbook ansible/mysql-setup.yaml -i '<machine-ip>,' --extra-vars "mysql_toolbox_password=<password>"

the-toolbox's People

Watchers

James Cloos avatar

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.