{"id":23275604,"url":"https://github.com/devops-dynamics/devops-dynamics-website","last_synced_at":"2025-07-25T11:35:38.949Z","repository":{"id":253680813,"uuid":"844206257","full_name":"devops-dynamics/devops-dynamics-website","owner":"devops-dynamics","description":"Source code for devops-dynamics.com","archived":false,"fork":false,"pushed_at":"2024-10-29T12:33:14.000Z","size":14758,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"staging","last_synced_at":"2024-10-29T13:11:29.768Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://devops-dynamics.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devops-dynamics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-18T17:41:15.000Z","updated_at":"2024-10-29T11:15:59.000Z","dependencies_parsed_at":"2024-08-29T21:09:05.883Z","dependency_job_id":"56d54d05-23e3-40f7-bf8d-5de87afec60b","html_url":"https://github.com/devops-dynamics/devops-dynamics-website","commit_stats":null,"previous_names":["devops-dynamics/devops-dynamics-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-dynamics%2Fdevops-dynamics-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-dynamics%2Fdevops-dynamics-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-dynamics%2Fdevops-dynamics-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devops-dynamics%2Fdevops-dynamics-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devops-dynamics","download_url":"https://codeload.github.com/devops-dynamics/devops-dynamics-website/tar.gz/refs/heads/staging","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230501171,"owners_count":18236061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T21:15:28.139Z","updated_at":"2024-12-19T21:15:28.821Z","avatar_url":"https://github.com/devops-dynamics.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started\n\nTo run this website in your local, your system must have Node.js LTS installed.\n\n## 1. Clone the repo\n\nFirstly, clone the github repo to your local system.\n\n```\ngit clone https://github.com/devops-dynamics/devops-dynamics-website\ncd devops-dynamics-website\n```\n\n## 2. Configure environment variables\n\nCreate a `.env.local` file in the root directory and add your environment variables.\n\n| key                  | value               | note                                              |\n| -------------------- | ------------------- | ------------------------------------------------- |\n| DATABASE_URL         | \u003cyour_database_url\u003e | Supbase Database URL                              |\n| DIRECT_URL           | \u003cyour_direct_url\u003e   | Supabse Direct URL                                |\n| TOKEN_SECRET         | \u003cyour_token_secret\u003e | Token secret for authentication                   |\n| BASE_URL             | \u003cyour_base_url\u003e     | For local development use \"http://localhost:3000\" |\n| NEXT_PUBLIC_BASE_URL | \u003cyour_base_url\u003e     | same as base url                                  |\n\n_You can follow the `.env.example` file._\n\n## 3. Run the development server (with live reloading)\n-   ## To remove the dev container with volumes, run the following command\n\n    ```\n    docker-compose -f docker-compose.local.yml --profile dev down --volumes --remove-orphans\n    ```\n\n-   ## To start the application container run the following command\n\n    ```\n    docker-compose -f docker-compose.local.yml --profile dev up\n    ```\n\n## 4. Build \u0026 run the production server (without live reloading)\n\n-   ## To remove the prod container with volumes, run the following command\n\n    ```\n    docker-compose -f docker-compose.local.yml --profile build down --volumes --remove-orphans\n    ```\n\n-   ## To build and start the container run the following command\n\n    ```\n    docker-compose -f docker-compose.local.yml --profile build up\n    ```\n\n# Additional Information\n\n## Configuring Supabase Environment Variables\n\n-   1. First Login to your Supabase Account and Go to Dashboard\n       https://supabase.com/\n\n-   2.  Click on `New Project` and Choose Organization (if not already created , create one).\n\n-   3.  Fill the details (project name, database password \u0026 region) and click on `Create New Project`.\n\n-   4.  After finishing setting up the project, Click on `Connect`\n\n-   5.  In the `URI` tab, set the `Mode` to `Transaction` and copy the URI string. Paste it into your `.env.local` file \u0026 this will be your `DATABASE_URL`. Replace `[YOUR-PASSWORD]` with your database password.\n\n    -   Append `?pgbouncer=true\u0026connection_limit=1` to the end of the connection string.\n\n    -   **Note:** The `connection_limit=1` parameter is only required if you are using Prisma from a serverless environment.\n\n    ```\n    DATABASE_URL=\"postgres://[db-user].[project-ref]:[db-password]@aws-0-[aws-region].pooler.supabase.com:6543/[db-name]?pgbouncer=true\u0026connection_limit=1\"\n\n    ```\n\n-   6.  Now set the `Mode` to `Session` and copy the URI string. Paste it into your .env.local file \u0026 This will be your `DIRECT_URL`. Replace `[YOUR-PASSWORD]` with your database password.\n\n    ```\n    DIRECT_URL=\"postgres://[db-user].[project-ref]:[db-password]@aws-0-[aws-region].pooler.supabase.com:5432/[db-name]\"\n    ```\n\nFor more details visit : https://supabase.com/partners/integrations/prisma\n\n\n\n# Using GitHub Actions for Testing Commits\n\nThis project uses GitHub Actions for continuous integration (CI) and to automate testing of commits. Here’s how you can use it:\n\n## 1. Triggering the Workflow\n\n### Automatic Trigger\n\nThe GitHub Actions workflow automatically triggers on every push to the `staging` branch. The build process will:\n\n- Checkout the code from the repository.\n- Set up Docker and build the Docker image.\n- Run tests and ensure the build succeeds.\n\n### Manual Trigger\n\nYou can manually trigger the workflow using the `workflow_dispatch` event, which is useful for testing specific commits or branches.\n\nTo manually trigger the workflow:\n\n1. Go to the **Actions** tab in your GitHub repository.\n2. Select the “Staging - Build Docker Image” workflow.\n3. Click on the “Run workflow” button and specify the branch and commit ID to use in the image tag.\n\n## 2. Reviewing the Workflow Status\n\nAfter pushing your code, review the status of the GitHub Actions workflow:\n\n- Go to the **Actions** tab in your GitHub repository.\n- Select the relevant workflow run to see the details.\n- Review the logs to ensure the build and tests have passed.\n\n## 3. Debugging Failures\n\nIf the workflow fails:\n\n- Review the logs in the GitHub Actions workflow for any error messages.\n- Fix the issues in your code or configuration.\n- Push the changes again, which will automatically re-trigger the workflow.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-dynamics%2Fdevops-dynamics-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevops-dynamics%2Fdevops-dynamics-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevops-dynamics%2Fdevops-dynamics-website/lists"}