Skip to content

Instantly share code, notes, and snippets.

@foxmask
Created October 29, 2016 12:27
Show Gist options
  • Save foxmask/4d6ab10571a4d500778d70b336877ed2 to your computer and use it in GitHub Desktop.
Save foxmask/4d6ab10571a4d500778d70b336877ed2 to your computer and use it in GitHub Desktop.
a snapcraft that just install trigger-happy
name: trigger-happy
version: master
summary: An opensource clone of IFTTT.com, a bridge between your internet services
description: Trigger Happy is a system for building triggers to automate tasks
from your online services like Tiwtter, Evernote, Wallabag, etc
confinement: strict
parts:
trigger-happy-source:
plugin: python
source: git://github.com/foxmask/django-th.git
source-tag: master
requirements: ./requirements.txt
build-packages:
- libtidy-0.99-0
- pandoc
name: trigger-happy
version: master
summary: An opensource clone of IFTTT.com, a bridge between your internet services
description: Trigger Happy is a system for building triggers to automate tasks
from your online services like Tiwtter, Evernote, Wallabag, etc
confinement: strict
apps:
trigger-happy:
command: python manage.py runserver 0.0.0.0:8090
plugs:
- network
parts:
trigger-happy-source:
plugin: python
source: git://github.com/foxmask/django-th.git
source-tag: master
requirements: ./requirements.txt
build-packages:
- libtidy-0.99-0
- pandoc
@foxmask
Copy link
Author

foxmask commented Oct 29, 2016

1rst one is ok (project is installed) but launches nothing

2nd one fails with

The specified command 'python' defined in the app 'trigger-happy' does not exist or is not executable

@chadmiller
Copy link

Look in /snap/trigger-happy/current/ to see what should be in command: .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment