Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

separate spacetime init/dev client and server templates

Đang mở
#5,876 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
42/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, typescript
Lĩnh vực
cli, developer-experience

Hướng nghiên cứu

Bắt đầu từ lệnh spacetime init/dev, luồng chọn template hiện tại của lệnh này và các tùy chọn --server-only và server-language được mô tả trong issue. Xác định cách các template client và server hiện đang bị ghép nối; công việc được xem là hoàn tất khi chúng có thể được chọn độc lập, hỗ trợ các ngôn ngữ khác nhau và tạo các dự án client-only hoặc server-only mà không cần hộp thoại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

currently spacetime init/dev templates have the client and server together in the same template folder.
this is so that the client code is compatible with the server code but it also means that it is not possible to select different languages between the client and server. if all templates that contain the same code are named the same (except the language), then it wouldn't matter if the client and server templates are selected in two steps.

so to have for example a rust server and TS client, it would require to make a rust server only, and init another TS server + client and then delete the new TS server and replace it with the earlier created rust server.

it is also not possible to make just a client or just a server once the command is run. the spacetime init has a --server-only flag but it can only be used with the start of the command and not as option later. there is no flag for just a client.

there is also a flag for the server language but not for the client language, so it is not possible to use init without going through the dialogue if you want to have a client too.

Ngôn ngữ chính
Rust
Star
25.2k
Fork
1.1k
Merge trung bình
3 ngày 17 giờ
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của clockworklabs/SpacetimeDB

Tất cả issue của clockworklabs/SpacetimeDB

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.