Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.
/ nalypoll Public archive

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

License

Notifications You must be signed in to change notification settings

aoirint/nalypoll

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published