https://github.com/maxisme/idmyteam-server
A recognition system for your team.
https://github.com/maxisme/idmyteam-server
Last synced: 4 months ago
JSON representation
A recognition system for your team.
- Host: GitHub
- URL: https://github.com/maxisme/idmyteam-server
- Owner: maxisme
- Created: 2019-05-01T11:24:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T21:07:22.000Z (about 5 years ago)
- Last Synced: 2025-06-01T18:45:13.474Z (about 1 year ago)
- Language: Python
- Homepage: https://idmy.team
- Size: 16.6 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/maxisme/idmyteam-server/actions)
[](https://codecov.io/gh/maxisme/idmyteam-server)
[Client Code](https://github.com/maxisme/idmyteam-server)
# Local environment
## `pre-commit`
```
$ pip install pre-commit
$ pre-commit install
```
to test:
```
$ pre-commit run --all-files
```
## How to run
### Full integration
```
$ docker-compose up --build
```
Then access at `http://localhost/`.
### Custom `runserver`
```
$ docker-compose up -d db redis
$ cd web
$ python3 manage.py migrate
$ python3 manage.py loaddata test-user.json
$ python3 manage.py runserver
```
You can then login with the credentials `testuser`:`testuser`
___
#### requirements.txt
```
pipdeptree | grep -P '^\w+' > web/requirements.txt
```
#### sass
- `sass source/stylesheets/index.scss build/stylesheets/index.css --style compressed`
- `$FilePath$ $FileNameWithoutExtension$.css --style compressed` (intelij)
### Updating models
```
$ python3 manage.py makemigrations
```
# k8 deployment
```
kubectl create secret generic idmyteam --from-env-file .env
helm upgrade idmyteam maxisme/staticweb --install -f 'helm/django-values.yml'
```
___
# Tests
## TODO
- [ ] Already in use username when signing up
- [ ] Already in use email when signing up