Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #6

Open
Kyle-Kerlew opened this issue Sep 21, 2022 · 0 comments
Open

Update README #6

Kyle-Kerlew opened this issue Sep 21, 2022 · 0 comments

Comments

@Kyle-Kerlew
Copy link
Contributor

the functionality and architecture of the bot has changed since originally written

  • chron jobs are now run from google cloud NOT from cron-job
  • DB_URI env variable added
  • Deployment is done via google cloud
  • index.js has functions that are exported that functionalities of the bot that can run independently, the code can be run locally by updating the start script in package.json to target the functionality you want to run.
    "start": "functions-framework --target=<function name here>"
    You can then run npm start and send a GET request to the localhost address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant