Open source repo for app.100xdevs.com
Note
This project uses pnpm only as a package manager.
- Clone the repository:
 
git clone https://github.com/code100x/cms.git- Navigate to the project directory:
 
cd cmsNote
Your Docker Demon should be online
- Running Script for Instant setup
 
# Gives permission to execute a setup file
chmod +x setup.sh
# Runs the setup script file
./setup.sh
(Optional) Start a PostgreSQL database using Docker:
docker run -d \
--name cms-db \
-e POSTGRES_USER=myuser \
-e POSTGRES_PASSWORD=mypassword \
-e POSTGRES_DB=mydatabase \
-p 5432:5432 \
postgres- 
Create a .env file:
- Copy 
.env.exampleand rename it to.env. 
 - Copy 
 - 
Install dependencies:
 
pnpm install- Run database migrations:
 
pnpm prisma:migrate- Generate prisma client
 
pnpm prisma generate- Seed the database:
 
pnpm db:seed- Start the development server:
 
pnpm dev- Access the application in your browser:
 
http://localhost:3000- Login using any of the following provided user credentials:
 
- 
Email:
testuser@example.com, Password:123456 - 
Email:
testuser2@example.com, Password:123456 
We welcome contributions from the community! There are many ways to contribute to the CMS. Code is just one possible means of contribution.
- 
Clone the fork to your local machine:
 
git clone https://github.com/<your username>/cms.git
cd cms- Create a new branch
 
git checkout -b feature/fooBar- Make your changes and commit them
 
git commit -am 'Add some fooBar'- Push to the branch
 
git push origin feature/fooBar- Go to the repository and make a Pull Request.
 
For major changes, please open an issue first to discuss what you would like to change.
Read our contribution guidelines for more details.