Quick Start
Last update: 4 days ago by Mateusz FilipowiczReading time: 2 min
Prerequisites
- Install NodeJS (newest 14+ recommended, minimal 12.18).
- Install Yarn:
npm install -g yarn
- Install Boogi CLI:
npm install -g boogi-cli
These commands may require root rights, depending on your operating system and configuration.
Quick start
Initialize BooGi project in current directory:
boogi initNow wizard will guide you through core BooGi configuration.
Run your app in development mode with live reload
boogi developYou can access your app on
localhost:8000
. Any changes applied will be automatically applied on running development server.Build you app package ready for deployment
boogi buildBuilt package will be available in
public
directory.
BooGi directory structure
Below is defined BooGi app directory structure. Important This is applicable only for apps initialized and using BooGi CLI.
+-- .boogi.yml # BooGi CLI configuration file+-- package.json #+-- README.md # Your BooGi app readme│+-- assets/ # Directory with static assets not used inside content (e.g. logo)│+-- config/ # Directory with BooGi app configuration│ +-- config.yml # BooGi configuration file│ +-- jargon.yml # Jargon (abbrevations / definitions) configuration file│ +-- theme/ # Directory with BooGi app theme (look-and-feel) configuration│ +-- colors.js # Base colors configuration file│ +-- dark.js # Dark theme configuration file│ +-- light.js # Light theme configuration file│+-- content/ # Directory with your app content│ +-- index.md # Root page content file (do not remove!)│+-- snippets/ # Directory with external code snippets, which can be embedded in content