Skip to content

Simple screen prototyping tool built on top of CraftCMS

License

Notifications You must be signed in to change notification settings

alrightstudio/screens

Repository files navigation

Screens

Simple screen prototyping tool built on top of CraftCMS. It's like Invision or Marvel, but free!

Project View Client Index

Requirements

  • MAMP
  • PHP 7+
  • MySQL 5+
  • Node 8+
  • Yarn

Local Development

Local development requires MAMP.

  1. Install Composer dependencies
$ composer install
  1. Install Yarn dependencies
$ yarn install
  1. Run CraftCMS required permissions script
$ sh scripts/set-permissions.sh
  1. Copy .env.example to .env and add your settings.
  2. Pull down DB backup and import into your local MySQL environment.
  3. Point screens.local in your hosts (via MAMP or hosts file) to the web directory and restart MAMP servers.
  4. Start local development server for live reload changes
$ yarn start

Deploying to Production

  1. Add Fortrabbit as a GIT remote, named production.
  2. Run the deploy.sh script. Your GIT password is the fortrabbit account password.
$ sh scripts/deploy.sh

This will do a few things - compress assets, commit those as a new deployment to the repo, and push to the production branch.


To Do

  • Screen specific URLs
  • Preload assets and keep scroll position
  • Hide toolbar button
  • Fix image compression (imgix)
  • Proper migration for setup
  • More prototyping tools like image map hyperlinks and transitions

About

Simple screen prototyping tool built on top of CraftCMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published