Mirror of upstream Pinafore https://github.com/nolanlawson/pinafore/
Go to file
2018-02-18 16:43:39 -08:00
assets add dynamic favicon 2018-02-16 08:59:44 -08:00
bin fix lint 2018-02-18 15:30:42 -08:00
cypress add federated/local timeline tests 2018-02-18 16:43:39 -08:00
fixtures ability to set up dev mastodon server with data 2018-02-18 11:53:50 -08:00
original-assets build svgs automatically 2018-01-27 12:48:22 -08:00
routes basic timeline test 2018-02-18 15:28:42 -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 initial commit 2018-01-06 15:51:25 -08:00
appveyor.yml initial commit 2018-01-06 15:51:25 -08:00
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 fix lint 2018-02-18 15:30:42 -08:00
README.md update readme 2018-02-18 14:38:10 -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

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