-
Notifications
You must be signed in to change notification settings - Fork 1
Installation Guide
- Pug
- Bootstrap 5
- Gulp
Demo: Octavia Pug Demo.
⚠️ you have to use any type of npm, yarn or gulp command inside "customer-src/build-tools/"
npm install
Or:
yarn
Now to run development server of Octavia run below command:
-
Download Octavia latest source files form Themeforst
-
Download and install Node.js from nodejs.org & Git from git-scm.com
-
Open your command prompt or terminal at
downloaded_folder/html/build-tools
-
Install the latest version of npm
npm install --global npm@latest
-
Install gulp to automate your SCSS and js code compilation.
npm install --global gulp
-
Verify the gulp is installed and it's version.
gulp -v
-
Install yarn globally.
npm install --global yarn
-
Install dependencies.
yarn
-
Complile all the assests(SCSS, JS, Images, fonts, icons etc).
gulp build --layout1 --prod
--layout1
determines the layout and --prod
compress and minifies assets.
Assets will be compiled & saved to Octavia/layout[x]/dist/assets
- Start localhost(Dev Server) and watch file change.
gulp --layout1
For jquery missing path issue Error: File not found with singular glob: /build-tools/node_modules/jquery/dist/jquery.min.js
Run
- Re-install dependencies:
rm -Rf node_modules && npm install
- Run
gulp --layout1
- If this did not work, try running
npm cache clean
and repeat the above step