mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Developing OpenProject Frontend
Development server
To start the development server:
gulp dev
Living Style Guide
The style guide is available at: http://localhost:8080/assets/css/styleguide.html.
Changing or updating Dependencies
We use npm shrinkwrap to lock down runtime (but not development)
dependencies. When adding or removing dependencies, please adhere to the
following workflow:
npm install
npm shrinkwrap
./scripts/clean-shrinkwrap.js
Please commit npm-shrinkwrap.json along with any changes to package.json.
Topics
The individual topics for the documentation for the frontend are
OVERVIEW.md- a general overview on the folder structure and a general "what is where"BUILD.md- notes on building the JavaScript for the asset pipelineTESTING.md- documentation of our approach to integration and unit testingSTYLING.md- notes on styling and the Sass-PipelineAPI.md- notes on dealing with the several APIs provided by OpenProjectRAILS.md- an overview for the frontend parts still left in the Rails stack (mostly the JavaScript)MISC.md- contains additional topics not fitting anywhere else