### Traditional Docker Setup - PostgreSQL Source: https://github.com/code100x/cms/blob/main/README.md Starts a PostgreSQL database instance using Docker, configured with specific user, password, and database name. ```bash docker run -d \ --name cms-db \ -e POSTGRES_USER=myuser \ -e POSTGRES_PASSWORD=mypassword \ -e POSTGRES_DB=mydatabase \ -p 5432:5432 \ postgres ``` -------------------------------- ### Instant Docker Setup Source: https://github.com/code100x/cms/blob/main/README.md Provides commands to set up the project instantly using Docker. This involves making the setup script executable and then running it. ```bash # Gives permission to execute a setup file chmod +x setup.sh # Runs the setup script file ./setup.sh ``` -------------------------------- ### Start Development Server Source: https://github.com/code100x/cms/blob/main/README.md Starts the development server for the CMS application. ```bash pnpm dev ``` -------------------------------- ### Install Dependencies Source: https://github.com/code100x/cms/blob/main/README.md Installs project dependencies using the pnpm package manager. ```bash pnpm install ``` -------------------------------- ### Seed the Database Source: https://github.com/code100x/cms/blob/main/README.md Populates the database with initial data using a seeding script. ```bash pnpm db:seed ``` -------------------------------- ### Generate Prisma Client Source: https://github.com/code100x/cms/blob/main/README.md Generates the Prisma client, which provides type-safe database access. ```bash pnpm prisma generate ``` -------------------------------- ### Run Database Migrations Source: https://github.com/code100x/cms/blob/main/README.md Executes database migrations using Prisma to update the database schema. ```bash pnpm prisma:migrate ``` -------------------------------- ### Navigate to Project Directory Source: https://github.com/code100x/cms/blob/main/README.md Changes the current directory to the cloned CMS project folder. ```bash cd cms ``` -------------------------------- ### Clone Repository Source: https://github.com/code100x/cms/blob/main/README.md Clones the CMS project repository from GitHub to your local machine. ```bash git clone https://github.com/code100x/cms.git ``` -------------------------------- ### Make a Pull Request Source: https://github.com/code100x/cms/blob/main/README.md Instructions on how to create a Pull Request on GitHub after pushing changes. ```plaintext Go to [the repository](https://github.com/code100x/cms/pulls) and [make a Pull Request](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request). ``` -------------------------------- ### Create New Branch Source: https://github.com/code100x/cms/blob/main/README.md Creates a new Git branch for feature development. ```bash git checkout -b feature/fooBar ``` -------------------------------- ### Commit Changes Source: https://github.com/code100x/cms/blob/main/README.md Stages and commits code changes with a descriptive message. ```bash git commit -am 'Add some fooBar' ``` -------------------------------- ### Access Application Source: https://github.com/code100x/cms/blob/main/README.md Provides the URL to access the running CMS application in a web browser. ```plaintext http://localhost:3000 ``` -------------------------------- ### Push to Branch Source: https://github.com/code100x/cms/blob/main/README.md Pushes the committed changes to the remote repository's specified branch. ```bash git push origin feature/fooBar ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.