-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝(website) create a documentation & "marketing" website for Richie
Richie was documented through markdown files in a docs/ folder in the repository, and publicized through the README.md. As we're starting to grow the community, this is not enough. We're starting a documentation website with a decicated "marketing" landing page to introduce new users/contributors to the project. We used Docusaurus to automatically build out the documentation using our own markdown files for content.
- Loading branch information
Showing
29 changed files
with
844 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ env.d | |
# Docs | ||
docs | ||
*.md | ||
*.log | ||
|
||
# Development/test cache & configurations | ||
.cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Contributing to Richie | ||
|
||
Want to contribute to Richie? We got you covered. | ||
|
||
Take a look at our [contributing guide](https://richie.education/docs/contributing-guide) to get started. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
id: contributing-guide | ||
title: Contributing guide | ||
sidebar_label: Contributing guide | ||
--- | ||
|
||
This project is intended to be community-driven, so please, do not hesitate to get in touch if you have any question related to our implementation or design decisions. | ||
|
||
We try to raise our code quality standards and expect contributors to follow the recommandations | ||
from our [handbook](https://openfun.gitbooks.io/handbook/content). | ||
|
||
## Checking your code | ||
|
||
We use strict flake8, pylint, isort and black linters to check the validity of our backend code: | ||
|
||
$ make lint-back | ||
|
||
We use strict tslint and prettier to check the validity of our frontend code: | ||
|
||
$ make lint-front | ||
|
||
## Running tests | ||
|
||
On the backend, we use pytest to run our test suite: | ||
|
||
$ make test-back | ||
|
||
On the frontend, we use karma to run our test suite: | ||
|
||
$ make test-front | ||
|
||
## Running migrations | ||
|
||
The first time you start the project with `make bootstrap`, the `db` container automatically | ||
creates a fresh database named `richie` and performs database migrations. Each time a new | ||
**database migration** is added to the code, you can synchronize the database schema by running: | ||
|
||
$ make migrate | ||
|
||
## Handling new dependencies | ||
|
||
Each time you add new front-end or back-end dependencies, you will need to rebuild the | ||
application. We recommend to use: | ||
|
||
$ make bootstrap | ||
|
||
## Going further | ||
|
||
To see all available commands, run: | ||
|
||
$ make | ||
|
||
We also provide shortcuts for docker-compose commands as sugar scripts in the | ||
`bin/` directory: | ||
|
||
``` | ||
bin | ||
├── exec | ||
├── pylint | ||
├── pytest | ||
└── run | ||
``` | ||
|
||
More details and tips & tricks can be found in our [development with Docker | ||
documentation](docker-development.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
docs/django_react_interop.md → docs/django-react-interop.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.