GithubHelp home page GithubHelp logo

alorian / bitrix24-symfony-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 4.0 20 KB

Bitrix24 on Symfony boilerplate

License: MIT License

CSS 0.51% JavaScript 11.15% PHP 81.20% Twig 7.14%
bitrix24 symfony

bitrix24-symfony-boilerplate's Introduction

Шаблон приложения Bitrix24 на Symfony

О том что именно сделано и почему подробнее читайте тут https://verstaem.com/bitrix24/cloud-app-on-symfony/

Как запустить?

1. Скачиваем шаблон в какую либо папку

2. Открываем скачанную папку и выполняем в консоли

$ composer install

3. Устанавливаем npm пакеты через yarn. Выполняем в консоли

$ npm install -g yarn
$ yarn install

4. Собираем фронт

$ yarn encore prod

5. Переименовываем или копируем файл /.env.sample в /.env.

В переименнованном файле указываем свои данные в переменных APP_DOMAIN, DATABASE_URL, B24_APPLICATION_SCOPE, B24_APPLICATION_ID, B24_APPLICATION_SECRET

6. Настраиваем веб-сервер, чтобы корнем сайта была папка /public

7. Добавляем локальное приложение на стороне Битрикс24

  • В качестве страницы приложения указываем https://ваш_домен/settings
  • В качестве страницы установки указываем htttps://ваш_домен/install

URL приложения

/install - страница установки

/settings - страница настроек

/test - страница добавления тестового действия бизнес процесса

/activities/test - страница обработки действия бизнес процесса

B24App

В файле /src/Bitrix/B24App.php лежит класс содержащий код автоматического обновления accessToken

bitrix24-symfony-boilerplate's People

Contributors

alorian avatar deadbead avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bitrix24-symfony-boilerplate's Issues

localhost

Helllo! does it works in localhost? I mean can it initialize Bitrix24 JS library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.