This is a template app to use as a boilerplate for your new play app. It has simple role based authentication and user CRUD.
Add or remove features that you need/don't need.
- Play Framework 1.2.4
- Play's Secure module
- Postmark module
- Ajax upload module
- LESS module
- Twitter Bootstrap
git clone [email protected]:FrostDigital/play-template.git
cd play-template
play deps --sync
play run
NOTE: When you deploy an application in production, you can reduce the size of its modules by removing module source code and documentation. You can do this by adding the --forProd option to the command, example:
play deps --sync --forProd
This app is intended to be a template for a new app. So it probably makes sense to remove all git meta data and create a new, separate git repository for the app:
# In dir above "play-template"
mv play-template my-new-app
# Remove old git metadata
rm -rf my-new-app/.git
# Init new git repo
git init
git add .
git commit -m 'first commit'
# Configure to use any remote repo, ie at GitHub...
Do you use Eclipse or IntelliJ? Try this guide.
We use play-template in-house at FrostDigital, but it's open source. Feel free to use it however you'd like. It's under the Apache 2 License.
- Play Framework - Apache 2 License
- Twitter Bootstrap - Apache 2 License