Share your articles automatically on linkedin 🔗
Made with Elixir 🚀
Installation and execution | How to contribute
- Dev To
- Clone this repository and go to the directory;
- Get the access token and author ID from Linkedin Api: https://docs.microsoft.com/pt-br/linkedin/shared/authentication/authorization-code-flow
- Rename sample.env to .env and put the variables form step 2;
- Deploy the application in your preferable cloud service, I recommend gigalixir.
- Create a webhook on DevTo with the url from step 4: https://docs.forem.com/api/#operation/createWebhook
- Create a post on Dev To, this should share the article on linkedin.
- Run
mix phx.server
;
- Run
mix test
;
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m 'feat: My new feature'
; - Push to your branch:
git push origin my-feature
.
After the merge of your pull request is done, you can delete your branch.