-
-
Notifications
You must be signed in to change notification settings - Fork 8
Development Setup
Docker Desktop allows you to enable Kubernetes, which can be beneficial for deploying and managing containers. To enable Kubernetes:
- Open Docker Desktop settings.
- Navigate to the "Kubernetes" tab.
- Check the box to enable Kubernetes and apply the settings.
Note:
If you intend to run a database within a containerized environment, please be aware that the application utilizes separate containers for PostgreSQL, Redis, and Grafana Loki. The PostgreSQL container accommodates four databases for replication purposes, while the Redis container employs three databases to support high availability. It's essential to consider the significant memory requirements associated with these containers.
To set up an NX workspace that includes React.js, Nest.js, Python, and .Net, follow these steps:
-
Install Node.js: Ensure you have Node.js installed on your system. If not, download and install it from the official Node.js website.
-
Install pnpm (Optional): Yarn is a package manager that works well with NX. You can install it globally by following the instructions on the pnpm website.
-
Install the NX CLI: Install the NX CLI globally using npm or Yarn by running the following command in your terminal:
npm install -g nx
# or
pnpm global add nx
To work with this project, follow these steps:
-
Install Visual Studio Code (VS Code):
- If you don't already have VS Code installed, you can download and install the latest release from the official VS Code website.
-
Install Required Extensions:
- After installing VS Code, you'll want to install some extensions to enhance your development experience. Open VS Code, and in the Extensions view (you can access it by clicking the square icon on the left sidebar), search for and install the following extensions:
- Visual Studio Code Python Extension: Enhances Python development capabilities in VS Code.
- Visual Studio Code Docker Extension: If you plan to work with Docker containers in your project, this extension is helpful for Docker integration.
- Visual Studio Code Kubernetes Extension: If you work with Kubernetes, this extension assists with Kubernetes-related tasks.
- After installing VS Code, you'll want to install some extensions to enhance your development experience. Open VS Code, and in the Extensions view (you can access it by clicking the square icon on the left sidebar), search for and install the following extensions:
-
Install or Update Node.js, .Net, and Python:
-
Open Your Project in VS Code:
- Open VS Code and use the "Open Folder" option to open your project directory.
-
Start Coding:
- You're now ready to start coding and developing your project using the enhanced capabilities of Visual Studio Code and the installed extensions.
By following these steps and installing the necessary extensions, you'll have a more productive development environment for working with Node.js, .Net, Python, Docker and Kubernetes within Visual Studio Code.
You can use Gitpod to work with this project. To do so, follow these steps:
-
Create a Gitpod Account:
- If you don't already have a Gitpod account, you can create one by visiting the Gitpod website.
- You can also sign up for Gitpod using your GitHub account.
-
Install the Gitpod Browser Extension:
- After creating your Gitpod account, you'll need to install the Gitpod browser extension. You can find the extension for your browser on the Gitpod website.
-
Open Your Project in Gitpod:
- Once you've installed the Gitpod browser extension, you can open your project in Gitpod by clicking the Gitpod button in the top right corner of your GitHub repository.
By following these steps, you'll be able to work with this project in Gitpod.
You can use GitHub Codespaces to work with this project. To do so, follow these steps:
-
Create a GitHub Account:
- If you don't already have a GitHub account, you can create one by visiting the [GitHub website](
-
Create a Codespace:
- After creating your GitHub account, you can create a Codespace by clicking the "Code" button in the top right corner of your GitHub repository and selecting "New Codespace" from the dropdown menu.
-
Open Your Codespace:
- Once you've created your Codespace, you can open it by clicking the "Code" button in the top right corner of your GitHub repository and selecting "Open with Codespaces" from the dropdown menu.
- You can also open your Codespace by clicking the "Codespaces" tab in your GitHub repository and selecting "Open Codespace" from the dropdown menu.
By following these steps, you'll be able to work with this project in GitHub Codespaces.
🚀 Explore the full potential of the Law Knowledge!
🐛 Found a bug or have a suggestion? Open an issue and let us know.
Thank you for being a part of our community! 🙌