Command line utility for creating and running components, themes and menus to be used on the Fliplet platform.
Extensive documentation is available at developers.fliplet.com.
npm install fliplet-cli -g
You can now use the command fliplet
from the command line. Just type fliplet
to see the available options and their example usage.
Please refer to our documentation for all details about creating components, themes and menus on Fliplet via the fliplet-cli
.
Run npm publish
from your machine, given you are logged in on npm
as a user with publishing permissions. You will be asked for a two-factor verification code for your account.
You can view Fliplet documentation at http://developers.fliplet.com or also get a copy of such website running locally on your machine. To do so, navigate to the docs
directory, install the ruby dependencies described below and run the Jekyll
server:
cd docs
Install depencencies:
gem install bundler
bundle install
Run Jekyll locally:
bundle exec jekyll serve
Then the website should be up and running at http://127.0.0.1:4000/
The index gets updated automatically from CircleCI when you commit new code. However, if you wish to update it manually you can run this command from the docs
folder:
ALGOLIA_API_KEY=<API_KEY> bundle exec jekyll algolia
Run the following command then commit the changed ./docs/Fliplet-approved-libraries.md
file:
npm run update-assets-docs