Create donation-based Solana blinks for peer-to-peer fundraising.
Prerequisites • Setup • Contributing •
Prerequisites Setup
-
Clone the repository:
git clone https://github.com/yourusername/ChaosCrowd.git cd ChaosCrowd
-
Install dependencies:
bun install
-
Set up environment variables:
Create a
.env
file in the root directory with the following content:DATABASE_URL="" GOOGLE_CLIENT_ID="" GOOGLE_CLIENT_SECRET="" NEXTAUTH_SECRET="" # Generate using: openssl rand -base64 32 NEXTAUTH_URL="http://localhost:3000"
-
Set up the database:
- Using Docker (recommended):
docker run -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres
- Database URL for local Docker setup:
DATABASE_URL="postgresql://postgres:mysecretpassword@localhost:5432/postgres"
- Alternatively, you can use any online PostgreSQL database service.
- Using Docker (recommended):
-
Initialize the database:
npx prisma db push npx prisma db migrate dev npx prisma generate
-
Start the development server:
bun run dev
Your ChaosCrowd project should now be running at http://localhost:3000
.
We welcome contributions to ChaosCrowd! Please feel free to submit issues, create pull requests, or fork the repository to make your own changes.
- Fork the repository
- Create your feature branch:
git checkout -b feature/AmazingFeature
- Commit your changes:
git commit -m 'Add some AmazingFeature'
- Push to the branch:
git push origin feature/AmazingFeature
- Open a pull request