Skip to content

Commit

Permalink
chore: Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioabreu committed Apr 12, 2024
1 parent bcae5fb commit 56ef5ad
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DATABASE_URL="user=streaming-platform password=streaming-platform dbname=streaming-platform host=db port=5432"
DATABASE_URL="user=dionysia password=dionysia dbname=dionysia host=db port=5432"
REDIS_ADDR=redis:6379
API_PORT=8080
READ_HEADER_TIMEOUT=2s
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

**Did you find a bug?**

* **Ensure the bug was not already reported by searching on GitHub under** [issues](https://github.com/learn-video/streaming-platform/issues)
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/learn-video/streaming-platform/issues/new).
* **Ensure the bug was not already reported by searching on GitHub under** [issues](https://github.com/learn-video/dionysia/issues)
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/learn-video/dionysia/issues/new).

**Did you write a patch that fixes a bug?**

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Streaming Platform
# Dionysia

> A streaming platform based on open source software
Expand Down
12 changes: 6 additions & 6 deletions cmd/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"log"

"github.com/joho/godotenv"
"github.com/learn-video/streaming-platform/internal/api"
"github.com/learn-video/streaming-platform/internal/config"
"github.com/learn-video/streaming-platform/internal/db"
"github.com/learn-video/streaming-platform/internal/logging"
"github.com/learn-video/streaming-platform/internal/queue"
"github.com/learn-video/streaming-platform/internal/service"
"github.com/learn-video/dionysia/internal/api"
"github.com/learn-video/dionysia/internal/config"
"github.com/learn-video/dionysia/internal/db"
"github.com/learn-video/dionysia/internal/logging"
"github.com/learn-video/dionysia/internal/queue"
"github.com/learn-video/dionysia/internal/service"
"github.com/spf13/cobra"
"go.uber.org/fx"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"log"

"github.com/joho/godotenv"
"github.com/learn-video/streaming-platform/internal/config"
"github.com/learn-video/streaming-platform/internal/logging"
"github.com/learn-video/streaming-platform/internal/queue"
"github.com/learn-video/streaming-platform/internal/task"
"github.com/learn-video/dionysia/internal/config"
"github.com/learn-video/dionysia/internal/logging"
"github.com/learn-video/dionysia/internal/queue"
"github.com/learn-video/dionysia/internal/task"
"github.com/spf13/cobra"
"go.uber.org/fx"
)
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ services:
ports:
- "5432:5432"
environment:
POSTGRES_USER: streaming-platform
POSTGRES_PASSWORD: streaming-platform
POSTGRES_DB: streaming-platform
POSTGRES_USER: dionysia
POSTGRES_PASSWORD: dionysia
POSTGRES_DB: dionysia
redis:
container_name: redis
image: redis:latest
Expand Down
2 changes: 1 addition & 1 deletion docs/DEV_LOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ I've been trying mediamtx while working on the design of our API.
This API will be used to manage the streams:

* A user creates a new stream and receives a stream key (UUID);
* This UUID will be used to push the stream to the server, for example rtmp://streaming-platform/UUID;
* This UUID will be used to push the stream to the server, for example rtmp://dionysia/UUID;
* We can use *onReady* mediamtx event to POST our API a user has just started streaming;
* And then we will enqueue a task do encode the stream and generate the ABR and HLS streams.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/learn-video/streaming-platform
module github.com/learn-video/dionysia

go 1.22.1

Expand Down
8 changes: 4 additions & 4 deletions internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import (
"net/http"

"github.com/gin-gonic/gin"
"github.com/learn-video/streaming-platform/docs"
"github.com/learn-video/streaming-platform/internal/config"
"github.com/learn-video/streaming-platform/internal/db"
"github.com/learn-video/streaming-platform/internal/service"
"github.com/learn-video/dionysia/docs"
"github.com/learn-video/dionysia/internal/config"
"github.com/learn-video/dionysia/internal/db"
"github.com/learn-video/dionysia/internal/service"
swaggerFiles "github.com/swaggo/files"
ginSwagger "github.com/swaggo/gin-swagger"
"go.uber.org/fx"
Expand Down
4 changes: 2 additions & 2 deletions internal/api/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (

"github.com/gin-gonic/gin"
"github.com/google/uuid"
"github.com/learn-video/streaming-platform/internal/model"
"github.com/learn-video/streaming-platform/internal/service"
"github.com/learn-video/dionysia/internal/model"
"github.com/learn-video/dionysia/internal/service"
)

type InputController struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/api/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/go-playground/validator/v10"
"github.com/learn-video/streaming-platform/internal/model"
"github.com/learn-video/dionysia/internal/model"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/db/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/jackc/pgx/v5/pgxpool"
"github.com/learn-video/streaming-platform/internal/config"
"github.com/learn-video/dionysia/internal/config"
)

func NewPool(cfg *config.Config) (*pgxpool.Pool, error) {
Expand Down
2 changes: 1 addition & 1 deletion internal/mocks/store.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/queue/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package queue

import (
"github.com/hibiken/asynq"
"github.com/learn-video/streaming-platform/internal/config"
"github.com/learn-video/dionysia/internal/config"
)

func NewClient(cfg *config.Config) *asynq.Client {
Expand Down
2 changes: 1 addition & 1 deletion internal/queue/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package queue

import (
"github.com/hibiken/asynq"
"github.com/learn-video/streaming-platform/internal/config"
"github.com/learn-video/dionysia/internal/config"
)

func NewServer(cfg *config.Config) *asynq.Server {
Expand Down
4 changes: 2 additions & 2 deletions internal/service/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"

"github.com/google/uuid"
"github.com/learn-video/streaming-platform/internal/db"
"github.com/learn-video/streaming-platform/internal/model"
"github.com/learn-video/dionysia/internal/db"
"github.com/learn-video/dionysia/internal/model"
)

type InputHandler interface {
Expand Down
8 changes: 4 additions & 4 deletions internal/service/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"github.com/google/uuid"
"go.uber.org/mock/gomock"

"github.com/learn-video/streaming-platform/internal/db"
"github.com/learn-video/streaming-platform/internal/mocks"
"github.com/learn-video/streaming-platform/internal/model"
"github.com/learn-video/streaming-platform/internal/service"
"github.com/learn-video/dionysia/internal/db"
"github.com/learn-video/dionysia/internal/mocks"
"github.com/learn-video/dionysia/internal/model"
"github.com/learn-video/dionysia/internal/service"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/service/notification.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/google/uuid"
"github.com/hibiken/asynq"
"github.com/learn-video/streaming-platform/internal/task"
"github.com/learn-video/dionysia/internal/task"
)

type NotificationHandler interface {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/learn-video/streaming-platform/cmd"
import "github.com/learn-video/dionysia/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit 56ef5ad

Please sign in to comment.