A useful tagging-platform
- Python3.7
- Docker
$ git clone https://github.com/whip1ash/tagging_platform.git
$ cd tagging_platform
$ sudo docker-compose up -d
$ pip3 install -r requirements.txt
$ cd src
# create table structure
$ ./bin/django-migrate.sh
$ cd src
# <filepath> is the location of WikipediaSpider result
# Default is ./output.json
$ ./bin/import_wiki_data.py <filepath>
# This step will overwrite data in normal_sentence table, please backup if it's important.
$ mysql -uroot -p<your_database_password> -P 6606 -h127.0.0.1 -D tag < ./resource/normal_sentence.sql
$ cd src/
$ ./bin/run-dev.sh