Skip to content

Commit 8ac2ec0

Browse files
authored
Multiuser support (#60)
1 parent 363b31e commit 8ac2ec0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+2676
-269
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## Version 0.2.0
4+
5+
### Added
6+
7+
* Multi-user support with permissions system
8+
* Sharing habits and wishlist items with other users
9+
* show both tasks and habits in dashboard (#58)
10+
* show tasks in completion streak (#57)
11+
12+
### BREAKING CHANGE
13+
14+
* PLEASE BACK UP `data/` DIRECTORY BEFORE UPGRADE.
15+
* Requires AUTH_SECRET environment variable for user authentication. Generate a secure secret with: `openssl rand -base64 32`
16+
* Previous coin balance will be hidden. If this is undesirable, consider using manual adjustment to adjust coin balance after upgrade.
17+
318
## Version 0.1.30
419

520
### Fixed

README.md

+14-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Want to try HabitTrove before installing? Visit the public [demo instance](https
1515
- 💰 Create a wishlist of rewards to redeem with earned coins
1616
- 📊 View your habit completion streaks and statistics
1717
- 📅 Calendar heatmap to visualize your progress (WIP)
18-
- 🌙 Dark mode support (WIP)
19-
- 📲 Progressive Web App (PWA) support (Planned)
18+
- 🌙 Dark mode support
19+
- 📲 Progressive Web App (PWA) support
2020

2121
## Usage
2222

@@ -46,11 +46,22 @@ chown -R 1001:1001 data # Required for the nextjs user in container
4646
2. Then run using either method:
4747

4848
```bash
49+
# Generate a secure authentication secret
50+
export AUTH_SECRET=$(openssl rand -base64 32)
51+
echo $AUTH_SECRET
52+
4953
# Using docker-compose (recommended)
54+
## update the AUTH_SECRET environment variable in docker-compose file
55+
nano docker-compose.yaml
56+
## start the container
5057
docker compose up -d
5158

5259
# Or using docker run directly
53-
docker run -d -p 3000:3000 -v ./data:/app/data dohsimpson/habittrove
60+
docker run -d \
61+
-p 3000:3000 \
62+
-v ./data:/app/data \
63+
-e AUTH_SECRET=$AUTH_SECRET \
64+
dohsimpson/habittrove
5465
```
5566

5667
Available image tags:

0 commit comments

Comments
 (0)