Go to file
Nolan Lawson 9dfe76692f add test for pinned statuses 2018-02-19 09:17:22 -08:00
assets add dynamic favicon 2018-02-16 08:59:44 -08:00
bin fix notifications test 2018-02-18 17:28:08 -08:00
cypress add test for pinned statuses 2018-02-19 09:17:22 -08:00
fixtures improve timelines test 2018-02-19 09:01:02 -08:00
original-assets build svgs automatically 2018-01-27 12:48:22 -08:00
routes add test for pinned statuses 2018-02-19 09:17:22 -08:00
scss tweak line-height to 1.4em 2018-02-10 16:22:12 -08:00
templates add dynamic favicon 2018-02-16 08:59:44 -08:00
.gitignore more work on testing 2018-02-18 10:42:27 -08:00
.travis.yml
README.md update readme 2018-02-18 14:38:10 -08:00
appveyor.yml
cypress.json test basic login/logout behavior 2018-02-18 14:31:28 -08:00
package-lock.json basic cypress tests 2018-02-18 12:25:59 -08:00
package.json tests almost passing 2018-02-18 19:52:58 -08:00
server.js use standard 2018-02-08 22:29:29 -08:00
webpack.client.config.js tweak webpack config 2018-02-14 22:23:28 -08:00
webpack.server.config.js use standard 2018-02-08 22:29:29 -08:00

README.md

Pinafore

An alternative web client for Mastodon.

Building

npm install
npm run build
PORT=4002 npm start

Development

npm run dev

Testing in development mode

In separate terminals:

1. Run a Mastodon dev server (note this destroys the mastodon_development database and inserts canned data):

npm run run-mastodon

2. Run a Pinafore dev server:

npm run dev

3. Run a Cypress dev environment:

npm run cy:open 

If you want to export the current data in the Mastodon instance as canned data, so that it can be loaded later:

npm run backup-mastodon-data

Testing

Lint:

npm run lint

Run Cypress tests:

npm test