1
0
Fork 0
tooty/README.md

45 lines
889 B
Markdown
Raw Normal View History

2017-04-15 07:18:02 +00:00
# tooty
An [experimental Mastodon client](https://n1k0.github.io/tooty/) written in Elm.
2017-05-05 15:43:59 +00:00
![](http://i.imgur.com/4sJCngb.png)
### Setting up the development environment
$ npm i
$ ./node_modules/.bin/elm-package install
### Starting the dev server
$ npm start
### Starting the dev server in live debug mode
$ npm run debug
### 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.
### 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-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
## Licence
MIT