-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- Getting Started: Essential instructions to kickstart your journey with Solara.
- Brand Management: Comprehensive documentation on effective brand management.
- Brands Overview: In-depth guide for understanding the Solara brands.
- Online Dashboard: Detailed guidance on using the online dashboard for brand configurations.
- Code Signing: Complete documentation on the code signing process for your brands.
- Advanced Topics: Discover advanced features and configurations to enhance your Solara experience.
- Solara Development: Detailed guidance on developing Solara.
Follow these steps to begin using Solara:
-
Install the Gem: Refer to the Installation section below for detailed instructions.
-
Run the Initialization Command:
solara init
This command creates two folders:
solara
and.solara
in the root of your project. For more details, see the Brand Management documentation. -
Access the Brand Dashboard: The dashboard opens automatically after initialization. Update your brand configurations as necessary and click
Apply Changes
.
You can also access the dashboard at any time by executing
solara dashboard
in your terminal. For detailed instructions, please refer to Brand Management. -
Install the App: Deploy the app on your target simulator or device.
Before installing Solara, ensure you have Ruby installed. The minimum required version is 3.0.0.
-
Using Homebrew: If you have Homebrew installed, you can easily install Ruby with:
brew install ruby
-
Using rbenv (recommended for version management):
brew install rbenv rbenv install 3.0.0 rbenv global 3.0.0
-
Using APT (Debian/Ubuntu):
sudo apt update sudo apt install ruby3.0
-
Using rbenv (recommended):
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-installer | bash exec $SHELL rbenv install 3.0.0 rbenv global 3.0.0
-
Using RubyInstaller: Download and install RubyInstaller from the RubyInstaller website. Make sure to select the version that is
3.0.0
or higher. -
Using WSL (Windows Subsystem for Linux): If you prefer a Unix-like environment, you can install WSL and follow the Linux instructions above.
To install Solara, add the following line to your application's Gemfile:
gem 'solara', 'x.y.z'
Make sure to replace x.y.z
with the latest version number shown in the badge below:
Your Gemfile should look like this, incorporating the actual version:
source 'https://rubygems.org'
gem 'solara', '~> 1.2.3'
# Add any other dependencies
Then execute the following Bundler command in your terminal:
bundle install
Alternatively, you can install it directly using:
gem install solara
Achieve excellence! Don't just avoid errors!