Skip to content

Commit efe24d8

Browse files
committed
update README
1 parent 08cea1f commit efe24d8

File tree

2 files changed

+32
-10
lines changed

2 files changed

+32
-10
lines changed

README.md

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
# CodePod: coding on a canvas, organized.
22

3-
![screenshot](./screenshot.png)
3+
Codepod provides the interactive coding experience popularized by Jupyter, but
4+
with scalability and production-readiness. Users can still incrementally build
5+
up code by trying out a small code snippet each time. But they would not be
6+
overwhelmed by the great number of code snippets as the projects grow.
7+
8+
![screenshot](./screenshot-canvas.png)
49

510
# We are on Beta testing
611

7-
And we are actively polishing everything. You might want to take a look at the [known issues](https://github.com/codepod-io/codepod/wiki/Known-Issues) along your adventure with Codepod.
12+
And we are actively polishing everything. You might want to take a look at the
13+
[known
14+
issues](<https://github.com/codepod-io/codepod/wiki/Known-Issues-(and-we-are-fixing-them!)>)
15+
along your adventure with Codepod.
16+
17+
# Contributing
18+
19+
CodePod is open source under MIT license. Feel free to contribute! We can make
20+
it better together. You can contribute by opening an issue, discussion, or
21+
submit a pull request. Please use [Prettier](https://prettier.io/) (e.g., [its
22+
VSCode
23+
plugin](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode))
24+
to format your code before checking in.
825

926
# Developing CodePod using docker-compose
1027

@@ -50,13 +67,18 @@ initialize the database. To do that, open a shell into the API container and run
5067
npx prisma migrate dev
5168
```
5269

53-
This command is also needed after the database schema is changed.
70+
This command is also needed after the database schema is changed. The protocol is:
5471

55-
# Contributing
72+
- One developer changed [the schema](./api/prisma/schema.prisma). He will run
73+
`npx prisma migrate dev --name add_a_new_field`. This will generate a
74+
migration, e.g. [this
75+
migration](./api/prisma/migrations/20221206194247_add_google_login/migration.sql).
76+
The schema change along with this migration need to be checked in to git.
77+
- Another developer pull the change, then run `npx prisma migrate dev` (in the
78+
api container's shell) to apply the schema change.
5679

57-
CodePod is open source under MIT license. Feel free to contribute! We can make
58-
it better together. You can contribute by opening an issue, discussion, or
59-
submit a pull request. Please use [Prettier](https://prettier.io/) (e.g., [its
60-
VSCode
61-
plugin](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode))
62-
to format your code before checking in.
80+
## Auto-completion & Linting
81+
82+
Although we develop using docker, we still want auto-complete and linting while
83+
coding. For that to work, you need to install the node packages locally, i.e.,
84+
run `yarn` in `api/`, `ui/`, etc.

screenshot-canvas.png

478 KB
Loading

0 commit comments

Comments
 (0)