Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

cordx56/tweet-generator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.