You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/QUICK_START_NGROK.txt

56 lines
1.4 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

🚀 FLODOC NGROK QUICK START
==========================
1⃣ SETUP (ONE TIME)
-------------------
# Get your free ngrok token: https://dashboard.ngrok.com/get-started/your-authtoken
~/bin/ngrok config add-authtoken YOUR_TOKEN_HERE
2⃣ START TESTING
-----------------
./start_with_ngrok.sh
3⃣ USE THE PUBLIC URL
----------------------
You'll see something like: https://abc123.ngrok.io
Use this URL for:
- Email invitation links
- Testing from other devices
- Sharing with testers
4⃣ TEST WORKFLOW
-----------------
1. Go to: https://abc123.ngrok.io/templates
2. Upload PDF → Create template
3. Add recipients → Send email
4. Check email → Click link
5. Test from phone/tablet/other PC
📊 MONITOR TRAFFIC
------------------
http://localhost:4040
🛑 STOP EVERYTHING
------------------
pkill -f "rails server" && pkill -f "ngrok http"
📝 TROUBLESHOOTING
------------------
• Ngrok not working? Check: ~/bin/ngrok api tunnels list
• Rails not starting? Check: lsof -i :3001
• Links not working? Make sure you're using https://xxx.ngrok.io, not localhost
📁 FILES CREATED
----------------
• start_with_ngrok.sh - Main setup script
• start_ngrok_only.sh - Quick ngrok starter
• NGROK_SETUP.md - Detailed guide
• .env - Updated with ngrok config
⚠️ SECURITY WARNING
--------------------
• Only for testing - NEVER for production
• Public URLs - Anyone with link can access
• Free tier limits apply
• URLs change on restart