Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lanfordcai/sniper33
https://github.com/lanfordcai/sniper33
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lanfordcai/sniper33
- Owner: LanfordCai
- Created: 2021-10-21T11:54:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-25T07:46:06.000Z (about 3 years ago)
- Last Synced: 2024-04-20T08:55:17.297Z (7 months ago)
- Language: Elixir
- Size: 139 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sniper33
To start your sniper33:
* export environment variable DATABASE_URL, for example: `ecto://USER:PASS@HOST/DATABASE`
* export environment variable SNIPER33_TWITTER_TOKEN, you can get it from twitter developer account app
* export environment variable SNIPER33_TWITTER_SYNC_INTERVAL, recommand set it to "180000", which means sync tweets per 3 mins
* export environment variable SNIPER33_DISCORD_WEBHOOK, which is your discord webhook url* Install dependencies with `mix deps.get`
* Create and migrate your database with `mix ecto.setup`
* Install Node.js dependencies with `npm install` inside the `assets` directory
* Start Phoenix endpoint with `mix phx.server`## Learn more
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix