aoirint / nalypoll

Twitterの投票経過をグラフ化するWebアプリ(Django) / Twitter App for visualizing poll histories.

Home Page:https://nalypoll.aoirint.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nalypoll

Twitter API有料化のため、メンテナンスを終了しました

Twitterの投票経過をグラフ化するWebアプリ(Django) / Twitter App for visualizing poll histories.

Prepare

Copy template.env, template.env.django, template.env.mysql to .env, .env.django, .env.mysql and set values.

docker-compose -f docker-compose.dev.yml up -d

docker-compose -f docker-compose.dev.yml exec app python3 manage.py migrate
docker-compose -f docker-compose.dev.yml exec app python3 manage.py collectstatic

Deploy

Copy docker-compose.yml, default.conf.template and .env* to a new directory and set values.

Execute

docker-compose up -d

docker-compose exec app python3 manage.py migrate
docker-compose exec app python3 manage.py collectstatic

Add dependencies

Add the dependencies to requirements.in and execute below.

sudo apt install -y libmysqlclient-dev

# Python 3.11
pip3 install -U pip-tools

pip-compile

About

Twitterの投票経過をグラフ化するWebアプリ(Django) / Twitter App for visualizing poll histories.

https://nalypoll.aoirint.com

License:MIT License


Languages

Language:Python 58.8%Language:HTML 30.0%Language:JavaScript 10.8%Language:Dockerfile 0.3%Language:Shell 0.2%