Embedable widget scripts server for erxes.
git clone https://github.com/erxes/erxes-widgets
cd erxes-widgets
npm install
3. Create configuration. We use dotenv for this.
cp .env.sample .env
This configuration matches with the default configurations of other erxes platform repositories. For the first time run, you don't need to modify it.
For development:
npm run dev
For production:
npm run build
npm start
Widgets server is running on http://localhost:3200.