Skip to content

Commit 4a20e13

Browse files
committed
update readme
1 parent 68c2733 commit 4a20e13

File tree

1 file changed

+41
-50
lines changed

1 file changed

+41
-50
lines changed

readme.md

Lines changed: 41 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,71 +2,62 @@
22

33
[![image](https://user-images.githubusercontent.com/10780590/132559883-8d65a1ef-d930-468b-8805-7e1003e05c7d.png)](https://www.youtube.com/watch?v=a6tvHMvF8Mo)
44

5-
An experiment in mass-collaborative authoring of general, intelligent tutoring systems.
5+
General tooling for interactive tutoring systems, with experimentation toward
6+
- mass-collaborative authoring
7+
- mixture-of-expert-systems guided learning
8+
- self-healing courses via proactive surfacing of learning bottlenecks
9+
- content inheritance between courses
610

11+
Think: the FOSS lovechild of anki, duolingo, wikipedia, and MathAcadamy, with a more generalized surface area for the types of content and skills that can be exercised.
712

8-
# Usage
13+
Aiming toward effective libraries and a main learner-loop to enable:
14+
a. independent authoring of individual courses
15+
b. community developed courses
16+
c. a platform to support both a. and b.
917

10-
## Installation
18+
## Project Architecture
1119

12-
After cloning the repository,
20+
This monorepo contains three primary components:
1321

14-
- `npm install` or `yarn install`
22+
- **Vue SPA Frontend** (`packages/vue`): Vue 3 + Vuetify 3 progressive web app
23+
- **Express API** (`packages/express`): Node.js backend API
24+
- **CouchDB Database**: Storage layer with replication protocol support
1525

16-
The app needs to be configured with the url of a CouchDB (or other database respecting the CouchDB replication protocol) server. See `/src/ENVIRONMENT_VARS.ts` to point the app toward a specific database. The default value, for ease of development startup, points to an in-browser pouch-db database.
26+
## Development Quick Start
1727

18-
The alternate value in `ENVIRONMENT_VARS.TS` points to the default url of a locally running CouchDB database.
28+
### Prerequisites
1929

20-
- [CouchDB Website](http://couchdb.apache.org/)
30+
- Node.js 18+
31+
- Yarn
32+
- Docker (for development database)
2133

22-
Note that CORS may need to be enabled in your CouchDB install.
34+
### Commands
2335

24-
# Development
36+
```bash
37+
git clone https://github.com/nilock/vue-skuilder.git
38+
cd vue-skuilder
39+
git submodule init
40+
yarn install
41+
yarn dev
42+
```
2543

26-
This project is scaffolded with [vue-cli 3](https://cli.vuejs.org/). See the vue-cli docs for more detail on build / deployment / environment configuation.
27-
28-
## Development Build / Serve
29-
30-
**Prerequisites**:
31-
- initialize the test database submodule with `git submodule init`
32-
- install `docker`
33-
34-
`npm run serve` or `yarn serve` from the project root.
35-
36-
Does:
37-
- in-memory build of the project and hosts with the webpack dev server. Hot reloading and source maps included for in-browser debugging.
38-
- runs the express server backend.
39-
- launches a couchdb backend with [test data](http://github.com/nilock/skuilder-test-data) as a docker container
40-
41-
## UI Component browsing with mock data
42-
43-
`npm run test:ui` or `yarn test:ui` from `./packages/vue`
44-
45-
Builds and runs the front-end with mock data sources. Navigate to `localhost:8080/uimocks`.
46-
47-
## Debugging
48-
49-
The project can be debugged inside of VSCode using the existing settings from `./vscode/launch.json`. After starting a development server with `yarn serve` / `npm run serve`, hitting F5 will launch VSCode's debugger and attach to the process. Launch configurations for Firefox and Chrome are present. They need the VSCode [debugger for firefox](https://marketplace.visualstudio.com/items?itemName=hbenl.vscode-firefox-debug) and [debugger for chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) exensions, respectively.
50-
51-
As of now, only the firefox debugger is functioning reliably (see #2).
52-
53-
Component state / props / virtual DOM exploration is also available in the browser via [vue-devtools](https://github.com/vuejs/vue-devtools).
54-
55-
- [Firefox Addon](https://addons.mozilla.org/en-US/firefox/addon/vue-js-devtools/)
56-
- [Chrome Extension](https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)
44+
This will:
45+
- Build the common package
46+
- Start a local CouchDB instance in Docker with test data
47+
- Launch the Express backend server
48+
- Launch the Vue frontend (http://localhost:5173)
5749

5850
## Production Build
5951

60-
Check for relevant flags in `/src/ENVIRONMENT_VARS.ts` before building for production.
61-
62-
- `npm run build` or `yarn build`
63-
64-
Outputs a static web page in the `/build` folder.
52+
```bash
53+
yarn build
54+
```
6555

66-
# License
56+
This builds all packages and outputs the frontend as a static web app in the `packages/vue/dist` folder and the backend in `packages/express/dist`.
6757

68-
The project in general follows the AGPL-3.0 licence. However, materials in `/src/base-course/` fall under the MIT licence (this folder will eventually be pulled to its own repository/package - see #3).
58+
## License
6959

70-
[AGPL-3.0](https://opensource.org/licenses/AGPL-3.0)
60+
This project is licensed under:
7161

72-
[MIT](https://opensource.org/licenses/MIT)
62+
- **AGPL-3.0** for the core platform: [License](https://opensource.org/licenses/AGPL-3.0)
63+
- **MIT** for materials in base course content: [License](https://opensource.org/licenses/MIT)

0 commit comments

Comments
 (0)