YouCan Development Store
YouCan's development store serves as a sandbox for developing themes and apps. It enables you to test and refine your themes and apps during the development process.
Prerequisites
To create or access a development store, you need a YouCan Partner account, register for one here.
Creating a Development Store
To set up a development store, follow these steps:
- Log in to your Partner Dashboard.
- Go to Stores > then click on New Store.
- In the Store details section, enter a name for authentication.
- Click Create Store.
After creating a store, you can manage and test your themes and apps using this development environment.
Managing Multiple Development Stores
You can create multiple development stores, which allows you to work on various projects simultaneously or test different features in seperate environments.
To create additional stores, follow the same steps as above for each new development store.
YouCan CLI allows you to switch between different development stores.
Accessing Your Development Store
To access your development store, follow these steps:
- From your Partner Dashboard, navigate to Stores and find your development store marked by the
dev
label - Sign in to access the store.
Password Protection
Development stores are password-protected to ensure security and prevent misuse. When accessing the storefront, you will be prompted to enter a password. Follow the instructions below.
How to Set Your Password:
- Log in to your Seller Area.
- Go to Settings > General > Access Control.
- Set or update your password in the Password Protection section.
INFO
The password expires after 2 hours, requiring re-entry for continued access. This security measure prevents unauthorized usage and protects your development environment from attacks.
YouCan CLI and Development Stores
The YouCan CLI YouCan CLI is a command line tool to simplify building and managing YouCan themes and apps. To use it effectively with your development store, follow these steps:
- Ensure you have the latest version of the YouCan CLI installed. Update by running:
npm i -g @youcan/cli@latest
- Log in to your development store using the CLI:
youcan auth login
- When prompted, select your development store. Ensure you choose a development store rather than a live store to access the correct endpoints.
Integration with the Seller Area
After developing a theme or an app, you can preview its functionality directly through the Seller Area.
This integration provides a realistic view of how your development will appear for sellers and their customers, as changes in your dev store show up instantly.
Note
The Seller Area Dashboard is accessible only after logging in through your YouCan Partner Dashboard.