|
@@ -1,39 +1,36 @@
|
1
|
|
-# SlackMattermostEmoji
|
|
1
|
+# Slack Mattermost Emoji
|
2
|
2
|
|
3
|
|
-Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/slack_mattermost_emoji`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
|
-
|
5
|
|
-TODO: Delete this and the text above, and describe your gem
|
|
3
|
+This gem is a simple script to download all the custom emoji in a Slack
|
|
4
|
+workspace and upload them to a Mattermost instance.
|
6
|
5
|
|
7
|
6
|
## Installation
|
8
|
7
|
|
9
|
|
-Add this line to your application's Gemfile:
|
10
|
|
-
|
11
|
|
-```ruby
|
12
|
|
-gem 'slack_mattermost_emoji'
|
|
8
|
+```
|
|
9
|
+$ git clone https://git.simulacrum.party/simulacrumparty/slack_mattermost_emoji.git
|
|
10
|
+$ cd slack_mattermost_emoji
|
|
11
|
+$ bundle
|
|
12
|
+$ cp .env.sample .env
|
13
|
13
|
```
|
14
|
14
|
|
15
|
|
-And then execute:
|
16
|
|
-
|
17
|
|
- $ bundle install
|
18
|
|
-
|
19
|
|
-Or install it yourself as:
|
|
15
|
+Fill in the relevant values in .env and you should be all set!
|
20
|
16
|
|
21
|
|
- $ gem install slack_mattermost_emoji
|
|
17
|
+(requires Ruby and Bundler to be installed)
|
22
|
18
|
|
23
|
19
|
## Usage
|
24
|
20
|
|
25
|
|
-TODO: Write usage instructions here
|
26
|
|
-
|
27
|
|
-## Development
|
28
|
|
-
|
29
|
|
-After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
|
-
|
31
|
|
-To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
21
|
+```
|
|
22
|
+$ bin/slack-mattermost-emoji
|
|
23
|
+```
|
32
|
24
|
|
33
|
|
-## Contributing
|
|
25
|
+## Tests
|
34
|
26
|
|
35
|
|
-Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/slack_mattermost_emoji.
|
|
27
|
+###🚨🚨🚨 WARNING 🚨🚨🚨
|
|
28
|
+Running the test suite _will_ upload actual files to your actual Mattermost
|
|
29
|
+instance.
|
36
|
30
|
|
|
31
|
+```
|
|
32
|
+$ rspec
|
|
33
|
+```
|
37
|
34
|
|
38
|
35
|
## License
|
39
|
36
|
|