Personal fork of Tooty
Go to file
Nicolas Perriault 7a053b9fa0 Fix #152: Multiple accounts. (#153)
* Update model to store multiple clients.

* Delete tmp registration data after client creation.

* Add minimal account selector view

* Update clients so they can have an account attached.

* List clients in the account selector.

* List accounts in the account selector view.

* It works™.

* Minor CSS fix.

* Reset server value when switching account.

* Fix empty black screen on reauth with new client format.

* Fix typo.

[skip-ci]
2017-05-09 18:43:12 +02:00
public Fix #152: Multiple accounts. (#153) 2017-05-09 18:43:12 +02:00
src Fix #152: Multiple accounts. (#153) 2017-05-09 18:43:12 +02:00
tests Fix #64: Handle paginations. (#131) 2017-05-05 17:26:49 +02:00
.gitignore Put Elm files into src/ and assets into public/ (#4) 2017-04-20 14:38:52 +02:00
.travis.yml Travis integration (#22) 2017-04-21 14:49:00 +02:00
elm-package.json Fix #64: Handle paginations. (#131) 2017-05-05 17:26:49 +02:00
package.json Optimize generated build. (#150) 2017-05-08 13:08:51 +02:00
README.md Optimize generated build. (#150) 2017-05-08 13:08:51 +02:00

tooty

An experimental Mastodon client written in Elm.

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

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

The app should be deployed to https://[your-github-username].github.io/tooty/

Note: The deploy command uses the optimize one internally.

Launching testsuite

$ npm test

Licence

MIT