All Projects → ekalinin → Nodeguide.ru

ekalinin / Nodeguide.ru

nodeguide.ru

Projects that are alternatives of or similar to Nodeguide.ru

Translation Spring Mvc 4 Documentation
Spring MVC 4.2.4 RELEASE 中文文档完整翻译稿
Stars: ✭ 1,062 (+503.41%)
Mutual labels:  translations
Laravel Translations Loader
Webpack loader to import Laravel translation files (PHP or JSON) into your JS bundle as JSON.
Stars: ✭ 109 (-38.07%)
Mutual labels:  translations
Android
DuckDuckGo Android App
Stars: ✭ 2,290 (+1201.14%)
Mutual labels:  translations
Translala
Translation Toolbox for your Laravel/Symfony project (translate, stats, commons and dead translations reports, coverage, CI process)
Stars: ✭ 70 (-60.23%)
Mutual labels:  translations
Eslint Plugin I18n Json
Fully extendable eslint plugin for JSON i18n translation files.
Stars: ✭ 101 (-42.61%)
Mutual labels:  translations
Nova Translatable
Making Nova fields translatable
Stars: ✭ 119 (-32.39%)
Mutual labels:  translations
Laravel Translatable
It's a Laravel database translations manager
Stars: ✭ 47 (-73.3%)
Mutual labels:  translations
Laravel Translatable
[Deprecated] A Laravel package for multilingual models
Stars: ✭ 1,974 (+1021.59%)
Mutual labels:  translations
Webtranslateit
A CLI to sync locale files with webtranslateit.com.
Stars: ✭ 102 (-42.05%)
Mutual labels:  translations
Laravel Auto Translate
Automatically translate your language files using a translator service
Stars: ✭ 153 (-13.07%)
Mutual labels:  translations
Developing Ios 11 Apps With Swift
Stanford 公开课,Developing iOS 11 Apps with Swift 字幕翻译
Stars: ✭ 1,237 (+602.84%)
Mutual labels:  translations
Cyrillic To Translit Js
Ultra-lightweight JavaScript library for converting Cyrillic symbols to Translit and vice versa
Stars: ✭ 91 (-48.3%)
Mutual labels:  translations
Talkr
Talkr is a super small i18n provider for React applications. It supports Typescript, has 0 dependencies, and is very easy to use.
Stars: ✭ 129 (-26.7%)
Mutual labels:  translations
Name Db
🚀 A multilingual collection of names from around the world
Stars: ✭ 57 (-67.61%)
Mutual labels:  translations
Kitsu Web
🔥 Ember.js app for Kitsu
Stars: ✭ 158 (-10.23%)
Mutual labels:  translations
Contributor covenant
Pledge your respect and appreciation for contributors of all kinds to your open source project.
Stars: ✭ 1,044 (+493.18%)
Mutual labels:  translations
Django Translations
Django model translation for perfectionists with deadlines.
Stars: ✭ 109 (-38.07%)
Mutual labels:  translations
React Native Paper Dates
Smooth and fast cross platform Material Design date and time picker for React Native Paper
Stars: ✭ 173 (-1.7%)
Mutual labels:  translations
Jenkins Zh
Jenkins 中文社区网站源码
Stars: ✭ 165 (-6.25%)
Mutual labels:  translations
Laravel Translatable String Exporter
Translatable String Exporter for Laravel
Stars: ✭ 149 (-15.34%)
Mutual labels:  translations

Что это

Это исходный код, отвечающий за работу сайта http://nodeguide.ru.

Как это работает

Внутри работают два фреймворка:

  • sphinx.pocoo.org_ (обертка над reStructuredText_)
  • express_ (веб фреймворк для node.js_)

.. _sphinx.pocoo.org: http://sphinx.pocoo.org/ .. _express: http://expressjs.com .. _node.js: http://nodejs.org/ .. _reStructuredText: http://docutils.sf.net/rst.html

Первый отвечает за трансляцию исходных текстов из *.rst в *.json. Второй — за отображение json в HTML.

Локальный запуск

Для того, чтобы заставить работать этот код на локальной машине необходимо выполнить описанные ниже манипуляции. Все действия рассчитаны на то, что будут выполняться в ОС типа Ubuntu/Debian.

Чтобы не засорять систему пакетами, которые, возможно больше нигде и не понадобятся, а так же для случаев, если нет прав root, вся установка будет выполняться в изолированных виртуальных окружениях (отдельно для python, отдельно для node.js).

Чтобы иметь возможность собрать node.js необходимо установить следующие пакеты::

$ sudo aptitude install build-essential libssl-dev

Чтобы иметь возможность создавать изолированные окружения, необходимо установить следующие пакеты::

$ sudo aptitude install curl python-virtualenv

Создаем виртуальное окружение для python и активируем его::

$ virtualenv --no-site-packages ./env
$ . ./env/bin/activate

Устанавливаем пакеты в python-окружении. sphinx_ — для генерации *.json, nodeenv_ — для создания виртуального окружения для node.js::

(env) $ pip install nodeenv sphinx

.. _sphinx: http://sphinx.pocoo.org/ .. _nodeenv: http://github.com/ekalinin/nodeenv

Создаем виртуальное окружение для node.js, попутно устанавливая все необходимые пакеты для node.js, и активируем новое окружение::

(env) $ nodeenv --node=7.8.0 --prebuilt -p
(env) $ npm install

Генерируем *.json и запускаем сайт на http://127.0.0.1:3000::

(env) $ make dev
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].