Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mingstar/internal-kaggle

Kaggle like platform for internal use
https://github.com/mingstar/internal-kaggle

flask kaggle kaggle-like python

Last synced: about 2 months ago
JSON representation

Kaggle like platform for internal use

Awesome Lists containing this project

README

        

# Internal Kaggle

Kaggle like platform for internal use.

Implemented in Python, Flask and Celery.

## First time setup

1. Install packages & start pipenv shell

```
$ pipenv install
$ pipenv shell
```

2. Start dependent docker services (esp. database)
```
$ cd local-dev
$ docker-compose build
$ docker-compose up -d
$ cd ..
```

2. DB Migrate
```
$ flask db upgrade
$ python migrations/seed.py
```

## Local run

```
flask run
```

## Before deployment

To update the Pipfile.lock with Pipfile
```
$ pipenv lock
```

## How to do DB migration

First, update the model class

then,
```
$ flask db migrate
$ flask db upgrade
```