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: 6 months ago 
        JSON representation
    
Kaggle like platform for internal use
- Host: GitHub
- URL: https://github.com/mingstar/internal-kaggle
- Owner: MingStar
- Created: 2019-03-20T00:20:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T13:50:56.000Z (almost 3 years ago)
- Last Synced: 2023-03-24T19:56:36.861Z (over 2 years ago)
- Topics: flask, kaggle, kaggle-like, python
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 3
- 
            Metadata Files:
            - Readme: README.md
 
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
```