A tool for auto-posting on social media networks.
💡 The environment variables are automatically retrieved from the
.env
file and registred to theprocess.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:
- 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 theProcfile
file.
- Manually register the environment variables in the node production server
ℹ️ For Heroku, go to the app's Settings / Config Vars.
- Install the dependencies:
npm i
- Start server for production:
npm start
- Runtime: NodeJS
- Package Manager: NPM
- Editor: Sublime Text
- ⚛️ Core: NodeJS