2017-04-15 07:18:02 +00:00
# tooty
2017-05-06 15:55:55 +00:00
An [experimental Mastodon client ](https://n1k0.github.io/tooty/ ) written in Elm.
2017-04-20 07:33:32 +00:00
2017-05-05 15:43:59 +00:00
![](http://i.imgur.com/4sJCngb.png)
2017-04-20 07:33:32 +00:00
### Setting up the development environment
$ npm i
2017-04-24 09:49:12 +00:00
$ ./node_modules/.bin/elm-package install
2017-04-20 07:33:32 +00:00
### Starting the dev server
2017-04-23 08:18:47 +00:00
$ npm start
### Starting the dev server in live debug mode
$ npm run debug
2017-04-20 07:33:32 +00:00
### Building
$ npm run build
2017-05-08 11:08:51 +00:00
### Optimizing
$ npm run optimize
This command compresses and optimizes the generated js bundle. It usually allows reducing its size by ~75%, at the cost of the JavaScript code being barely readable. Use this command for deploying tooty to production.
2017-04-20 07:33:32 +00:00
### Deploying to gh-pages
$ npm run deploy
2017-04-23 08:30:31 +00:00
The app should be deployed to https://[your-github-username].github.io/tooty/
2017-04-20 07:33:32 +00:00
2017-05-08 11:08:51 +00:00
Note: The `deploy` command uses the `optimize` one internally.
2017-04-26 07:03:54 +00:00
### Launching testsuite
2017-04-26 07:06:57 +00:00
$ npm test
2017-04-26 07:03:54 +00:00
2017-04-20 07:33:32 +00:00
## Licence
MIT