Source Cooperative Web Interface & API
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A data publishing utility that allows trusted organizations and individuals to share data using standard HTTP methods.
Source Cooperative is operational and available at https://source.coop, providing access to over 5PB of data.
.env.example to .env.localnpm installnpm run devThe application requires a DynamoDB instance for data storage. Docker Compose is used to run DynamoDB locally for development:
# Start DynamoDB and DynamoDB Admin
docker compose up
This will start:
The bootstrap script (init-db service) will:
RESET_TABLES environment variable:# Force reset and reinitialize tables
RESET_TABLES=true docker compose up
.env.localSee CONTRIBUTING.md for detailed information about contributing to the project.
This project is licensed under the MIT License - see the LICENSE file for details.
# Development
npm run dev # Start development server
# npm run build # Build production bundle
# npm run start # Start production server
npm run lint # Run ESLint
npm run type-check # Run TypeScript checks
Common Issues:
Build errors
.next directory and rebuildrm -rf .next
npm run build
Environment variables not working
.env.local exists and is properly configuredType errors
npm run type-check to identify issuesCopyright 2024 Radiant Earth