mirror of
https://github.com/Horhik/Instagram2Fedi.git
synced 2025-03-22 13:32:04 +00:00
add env.sh
This commit is contained in:
parent
a4ab8d97f3
commit
36435e5a90
2 changed files with 15 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
|||
# Instagram2Mastodon 🐘
|
||||
# Instagram2Fedi
|
||||
|
||||
Simple python 🐍 script for crossposting from instagram to Mastodon/Pixelfed
|
||||
|
||||
Simple python 🐍 script for crossposting from instagram to mastodon/pixelfed
|
||||
## Installing
|
||||
|
||||
Just clone repo, build a docker container and run it
|
||||
|
||||
``` bash
|
||||
git clone https://github.com/horhik/instagram2mastodon
|
||||
cd instagram2mastodon
|
||||
|
@ -10,4 +13,6 @@ docker build -t YOUR_CONTAINER_NAME .
|
|||
docker container run -it -v $(pwd):/app YOUR_CONTAINER_NAME I2M_INSTAGRAM_USER I2M_INSTANCE I2M_TOKEN
|
||||
```
|
||||
|
||||
You can write all needed variables in `./env.sh` and then do `source ./env.sh`
|
||||
|
||||
|
||||
|
|
8
env.sh
Executable file
8
env.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
export YOUR_CONTAINER_NAME=
|
||||
export I2M_INSTAGRAM_USER=
|
||||
export I2M_INSTANCE=
|
||||
export I2M_TOKEN=
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue