https://github.com/m0g/zeithub
Open source time tracking, invoicing & expenses management for freelancers
https://github.com/m0g/zeithub
Last synced: 4 months ago
JSON representation
Open source time tracking, invoicing & expenses management for freelancers
- Host: GitHub
- URL: https://github.com/m0g/zeithub
- Owner: m0g
- License: mit
- Created: 2019-01-07T11:33:31.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T08:52:59.000Z (almost 3 years ago)
- Last Synced: 2024-05-28T15:58:03.519Z (over 1 year ago)
- Language: Vue
- Homepage:
- Size: 4.06 MB
- Stars: 66
- Watchers: 4
- Forks: 4
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-vue - Zeithub - Open source time tracking, invoicing & expenses management for freelancers ` 📝 9 months ago ` (Open Source [🔝](#readme))
- awesome-vue - Zeithub - Open source time tracking, invoicing & expenses management for freelancers (Projects Using Vue.js / Open Source)
README
# Zeithub

## Introduction
Zeithub is an open source time tracking, invoicing & expenses management for freelancers.
## Installation
```bash
cp example.env .env
docker-compose up -d
npm install
npm run db:up
```
To run locally:
`npm run dev`
The app is now available at http://localhost:3000
## How to create a new migration
```bash
npx db-migrate create --config config/database.json my-fancy-migration --sql-file
```
## Prod installation with Docker
As prerequesites, you will need docker and docker-compose.
```
mkdir ~/zeithub
cd ~/zeithub
wget -O docker-compose.yml https://raw.githubusercontent.com/m0g/zeithub/master/docker-compose.prod.yml
docker-compose up -d
```
then we need to populate the database:
```
docker-compose exec zeithub npm run db:up
```
## Backup & Restore MySQL database
### Backup
```
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
```
### Restore
```
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
```