Skip to content

🐦 Posting automation tool for social media networks .

Notifications You must be signed in to change notification settings

simple-works/auto-poster

Repository files navigation

🐦 Auto-Poster

Web JavaScript NodeJS

A tool for auto-posting on social media networks.

✈️ Deployment

💡 The environment variables are automatically retrieved from the .env file and registred to the process.env object for access during development. Use .env-tmp file as reference to make own personal .env file.

💡 It is advised to not push the .env file in production repository, because it contains sensible and confidential data. either delete it or add it to .gitignore.

To deploy the project in a node environment:

  1. Push the repository to a node production server using a service like Heroku.

💡 As this is not an HTTP Web app, but a worker process, the service should be set for that.

ℹ️ For Heroku run heroku ps:scale web=0 worker=1 -a app-name in the CLI.

💡 worker corresponds to the name given in the Procfile file.

  1. Manually register the environment variables in the node production server

ℹ️ For Heroku, go to the app's Settings / Config Vars.

  1. Install the dependencies:
npm i
  1. Start server for production:
npm start

🚀 Development

🏭 Environment

🌑 Backend

📃 License

© 2022 Ambratolm

About

🐦 Posting automation tool for social media networks .

Resources

Stars

Watchers

Forks