Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.33 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.33 KB

Pythia Twitter Bot

JavaScript Style Guide Conventional Commits Commitizen Friendly Styled with Prettier

Watch and tweet about pythia accusations.

Prerequisites

  • NodeJS version 10

Get Started

  1. Clone this repo.
  2. Duplicate .env.example, rename it to .env and fill in the environment variables.
  3. Run yarn to install dependencies and then yarn start to run the service in development mode.

To run the service in production mode use node -r dotenv/config index.js.

To start with PM2 use pm2 start --node-args="-r dotenv/config" index.js --name pythia-twitter

Other Scripts

  • yarn format - Lint, fix and prettify all the project. .js files with styled components and .js files.
  • yarn run cz - Run commitizen.