Showpad
Showpad offers a suite of features that empower developers to create immersive and personalized content experiences. Seamlessly access and manage sales collateral, such as presentations, documents, videos, and images, through Showpad's intuitive interface. Leverage the customization options and create dynamic content that aligns with your app's unique branding and user experience.
Showpad is currently transitioning to a new way of deploying apps onto their platform. So we'll explain both ways here.
Warning
Ask for your login information, you don't need to register for a new account yourself!
OAuth api key
Make sure to provide yourself with full access to Showpad through with OAuth keys. This works for both the new and the old way of deploying.
- Go to the Admin settings -> Api -> Manage OAuth Clients
- Add a new Client (plus sign):
- Use your name as the name
- Use
http://www.bylt.euas the redirect url and website - Give some description as it is required
- Give yourself all the access rights by checkin gall the boxes
- Set the expiration date as late as possible
Old way (v0.9)
The official documentation of the old way can be found here.
More info
New way (v3.1)
The official documentation of the new way can be found here. Older versions are mixid with the latest version of the documentation, so make sure you're not reading legacy documentation thinking it's the latest version.
CLI Authentication
The authentication file for the cli used to be saved at project level in either a showpadconfig.json file or a .env file (depending on the version). Since 3.1 it is saved globally into your user folder:
# Open
nano $HOME/.showpad/credentials
Warning
Make sure to use pass a profile name when authenticating so it can be passed to our bundler. This will reduce the chance of inconsistencies and bugs when trying to build/test/deploy the apps.
More info
Bundler
Our most recent GULP bundler has the CLI commands integrated in the following commands:
gulp showpadServe: to serve the app locallygulp showpadBuild: to build and bundle the app into a Showpad bundlegulp showpadUpload: To build, bundle and upload the app to Showpad (New way only!)
Our older projects running Webpack will use the following commands
npm run watch: to watch the files for developmentnpx showpad experience serve: to set up the development environmentnpm run build: to build the files for productionnpx showpad experience bundle: to bundle the app into a showpad file, ready for upload
Tips
The documentation about of the bundler goes into more detail.