Deployment
This guide covers deploying your Teachfloor app from private testing to public marketplace publication.
Overview
Teachfloor apps can be deployed in two ways:
- Private Deployment: Available only to your organization
- Public Deployment: Listed in the Teachfloor Marketplace for all organizations
Distribution Types
Private Apps
Default distribution type for new apps.
Characteristics:
- Only visible to your organization
- No review process required
- Instant deployment
- Cannot be installed by other organizations
When to use:
- Internal productivity tools
- Organization-specific integrations
- Testing and development
- Custom solutions for your team
Public Apps
Marketplace-listed apps available to all organizations.
Characteristics:
- Listed in Teachfloor Marketplace
- Requires review and approval
- Available to all organizations
- Subject to quality standards
When to use:
- General-purpose tools
- Integrations with popular services
- Apps that benefit the community
- Commercial offerings
Deployment Process
Step 1: Prepare Your App
Update Version
Increment the version in your manifest before each deployment:
{
"version": "1.0.1" // Changed from "1.0.0"
}
Follow semantic versioning:
- Major (x.0.0): Breaking changes
- Minor (1.x.0): New features, backward compatible
- Patch (1.0.x): Bug fixes
Test Locally
teachfloor apps start
Ensure:
- All features work as expected
- No console errors
- All viewports display correctly
- Data storage works properly
- Permissions are correctly requested
Clean Build
# Clear cache
rm -rf node_modules/.cache
rm -rf dist/
# Fresh install
npm install
# Test build
npm run build
Step 2: Set Distribution Type
For Private Deployment
Apps are private by default. To explicitly set:
teachfloor apps set distribution
Select private
when prompted.
Or edit manifest manually:
{
"distribution_type": "private"
}
For Public Deployment
Required before submitting to marketplace:
teachfloor apps set distribution
Select public
when prompted.
Or edit manifest manually:
{
"distribution_type": "public"
}
public
before the app can be submitted for marketplace review.Step 3: Upload Your App
Build and upload your app:
teachfloor apps upload
What happens:
- Validates manifest
- Checks version isn't already approved
- Runs
npm run build
- Bundles all files from
dist/
- Replaces localhost URLs with production URLs
- Uploads to Teachfloor platform
- Creates new app version
Output:
✓ Uploading manifest...
✓ Starting upload...
✓ Building the production bundle...
✓ Uploading files...
✓ App uploaded successfully.
Step 4: Submit for Review (Public Apps Only)
Via Dashboard
- Log in to Teachfloor dashboard
- Navigate to Settings → Apps
- Find your app in the list
- Click "Submit for Review"
- Fill out submission form (if any)
- Click "Submit"
What Gets Reviewed
- Functionality: App works as described
- UI/UX: Follows Teachfloor design guidelines
- Security: No vulnerabilities or malicious code
- Privacy: Complies with data protection standards
- Permissions: Requests only necessary permissions
- Documentation: Clear purpose and explanation
Step 5: Review Process
Timeline
- Initial Review: 2-5 business days
- Revisions: 1-3 business days per iteration
- Final Approval: 1 business day
Status Tracking
Check status in dashboard:
UNPUBLISHED
: Draft, not submittedSUBMITTED
: Awaiting reviewREVIEWING
: Under reviewPUBLISHED
: Approved and liveREJECTED
: Review failed
If Rejected
You'll receive feedback explaining:
- Issues found
- Required changes
- Guidelines violated
Fix and resubmit:
- Make required changes
- Update version number
- Run
teachfloor apps upload
- Submit again via dashboard
Version Management
Creating New Versions
Once a version is approved/published, it becomes locked and cannot be modified.
To release updates:
- Update version in manifest:
{
"version": "1.1.0" // Increment from 1.0.0
}
-
Make your changes
-
Upload:
teachfloor apps upload
- Submit for review (if public)
Version States
State | Editable | Installable | Visible in Marketplace |
---|---|---|---|
UNPUBLISHED | ✅ Yes | ✅ Yes (dev mode) | ❌ No |
SUBMITTED | ❌ No | ✅ Yes (dev mode) | ❌ No |
REVIEWING | ❌ No | ✅ Yes (dev mode) | ❌ No |
PUBLISHED | ❌ No | ✅ Yes | ✅ Yes (if public) |
REJECTED | ✅ Yes | ✅ Yes (dev mode) | ❌ No |
Rollback Strategy
You cannot rollback a published version. To address issues:
- Publish a fixed version with incremented version number
- Contact support to hide from marketplace if needed
Private to Public Migration
If you want to make an existing private app public:
- Set distribution to public:
teachfloor apps set distribution
# Select: public
- Update manifest:
{
"distribution_type": "public",
"description": "Clear, helpful description for marketplace"
}
- Increment version (use major version for public release)
- Upload:
teachfloor apps upload
- Submit via dashboard
Marketplace Guidelines
App Requirements
Required:
- Clear, descriptive name
- App icon
- Accurate description (50-200 characters)
- Valid semantic version
- Working functionality
Recommended:
- Settings page for configuration
- Post-install action
- Clear permission purposes
Quality Standards
Public apps must meet quality standards for performance, accessibility, design, error handling, and privacy.
Next Steps
→ Continue to CLI Reference
Additional Resources
- Best Practices - Deployment best practices and checklists
- Troubleshooting Guide - Common deployment issues
- App Manifest - Manifest configuration