• This repository has been archived on 29/Apr/2023
  • Stars
    star
    140
  • Rank 259,936 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

markov-chain tweet generator webpage

Markov Chain Tweet Generator

Run $ docker-compose build && docker-compose up

This program uses jsvine/markovify and MeCab.
To know all dependencies, see Pipfile and Dockerfile.

Config & files

Set django/tweet_generator/local_settings.py. See below.

DEBUG = False
SECRET_KEY = 'secret'
POSTGRES_DB = 'Your DB name in PostgreSQL'
POSTGRES_USER = 'Your username in PostgreSQL'
POSTGRES_PASSWORD = 'Your password in PostgreSQL'
POSTGRES_HOST = 'postgres'
WEBPAGE_BASE_URL = 'localhost:3000'
TWITTER_API_CONKEY = 'API key'
TWITTER_API_CONSEC = 'API key secret'

django/font.ttf

nuxt/common.js is defining API_BASE_URL.