Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/valve/neolang

Language learning materials management system (API only)
https://github.com/valve/neolang

Last synced: 11 days ago
JSON representation

Language learning materials management system (API only)

Awesome Lists containing this project

README

        

# neolang-api

## Development setup

### Copy env vars and update them as necessary
```
cp .env.example .env
```

### Create virtual env
```
virtualenv .venv
source .venv/bin/activate
(.venv) pip install -r requirements.txt
(.venv) pip install -U pip
```

### Create and migrate database
```
flask db upgrade
```

### Seed DB

```
# seed entry types separately
flask seed-entry-types
# seed the rest of the data
flask seed
```

Now the app is ready to run.

```
flask run
# go to http://localhost:5000/v1/parts
```