Contributions are welcomed and appreciated! To start contributing:
- Fork the repository on GitHub.com
- Clone your fork
$ git clone git@github.com:your-user-name/scudcloud.git
$ cd scudcloud
- Create a feature branch
$ git checkout -b named-feature-branch
- Backup local scudcloud
$ sudo mv /opt/scudcloud /opt/scudcloud.bak
$ sudo mv /usr/bin/scudcloud /usr/bin/scudcloud.bak
- Install local scudcloud
$ sudo ln -s scudcloud-1.0/lib/*.py /opt/scudcloud/lib
$ sudo ln -s scudcloud-1.0/resources/* /opt/scudcloud/resources
$ sudo ln -s scudcloud-1.0/scudcloud $INSTALL
- Make your changes
$ git commit -am "implement feature"
- Submit a pull request on GitHub.com
$ git push origin named-feature-branch
- Edit your pull request description in GitHub.com to include the issue number
In case you need to inspect HTML/CSS/Javascript, start ScudCloud enabling the web console:
scudcloud --debug=True
Then right click in any element, and select Inspect
. Then at the top, select Console
.
Some JavaScript functions are injected in Slack, to enable integration with ScudCloud. Then file is minimized, to allow a better performance.
If you change anything in the JS source files and want to minimize again, minimize with http://jscompress.com/. In case of scudcloud.js
, remember to restore the last line (the one with boot_data
): this line is always removed by jscompress
, and it's really important!