Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

hexlet-codebattle/battle_chrome_extension

Repository files navigation

Codebattle Chrome extension

Build Status

Description:

Chrome extension for hexlet-codebattle

Requirements:

  • node + npm

Setup:

make

Install the extension:

  • Go to chrome://extensions/
  • Check that you've turned on the "Developer Mode" (the checkbox at the top right)

Usage in develop-environment:

  • Select "Load unpacked...".
  • Select dev folder in the extension root (if it is not there, first do the next step)
  • Launch the server by running make develop in the terminal. The server must be kept running continuously
  • If you change the js-files, the extension will be updated automatically. To apply changes to the manifest.json, the server must be restarted

Install the release version:

  • Drag the extension archive from the dist folder into the browser window
  • Accept the installation

Or

  • Select "Load unpacked...";
  • Select build folder in the extension root