在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):overleaf/web开源软件地址(OpenSource Url):https://github.com/overleaf/web开源编程语言(OpenSource Language):JavaScript 90.2%开源软件介绍(OpenSource Introduction):
overleaf/weboverleaf/web is the front-end web service of the open-source web-based collaborative LaTeX editor, Overleaf. It serves all the HTML pages, CSS and javascript to the client. overleaf/web also contains a lot of logic around creating and editing projects, and account management. The rest of the Overleaf stack, along with information about contributing can be found in the overleaf/overleaf repository. Build processoverleaf/web uses Grunt to build its front-end related assets. Image processing tasks are commented out in the gruntfile and the needed packages aren't presently in the project's New Docker-based build processNote that the Grunt workflow from above should still work, but we are transitioning to a Docker based testing workflow, which is documented below: Running the appThe app runs natively using npm and Node on the local system:
Ideally the app would run in Docker like the tests below, but with host networking not supported in OS X, we need to run it natively until all services are Dockerised. Running TestsTo run all tests run:
To run both unit and acceptance tests for a module run:
Unit TestsThe test suites run in Docker. Unit tests can be run in the The makefile contains a short cut to run these:
During development it is often useful to only run a subset of tests, which can be configured with arguments to the mocha CLI:
To run only the unit tests for a single module do:
Module tests can also use a MOCHA_GREP argument:
Acceptance TestsAcceptance tests are run against a live service, which runs in the To run the tests out-of-the-box, the makefile defines:
However, during development it is often useful to leave the service running for rapid iteration on the acceptance tests. This can be done with:
During development it is often useful to only run a subset of tests, which can be configured with arguments to the mocha CLI:
To run only the acceptance tests for a single module do:
Module tests can also use a MOCHA_GREP argument:
RoutesRun License and CreditsThis project is licensed under the AGPLv3 license StylesheetsOverleaf is based on Bootstrap, which is licensed under the
MIT license.
All modifications ( ArtworkSilk icon set 1.3We gratefully acknowledge Mark James for
releasing his Silk icon set under the Creative Commons Attribution 2.5 license. Some
of these icons are used within Overleaf inside the IconShock iconsWe gratefully acknowledge IconShock for use of the icons
in the |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论