Giter Club home page Giter Club logo

aspan-trainer's Introduction

How to build

Prepare image. This needs to be done once.

  1. Run docker: make build_image

Run the image in a container and build stuff:

  1. Run docker: make builder
  2. Prepare aspan.js from Aspan library and put into static/src/javascripts/lib/aspan.js
  3. Build: ./build_web.sh
  4. Find build output inside dist.

Development build

Set variable: export NODE_ENV=development

After that tailwind classes won't be purged and correspondingly CSS files are going to be much larger, like over 1 MB. But it allows to experiment with classes without rebuild.

aspan-trainer's People

Contributors

muratkaribay avatar mxwell avatar

Stargazers

 avatar

Watchers

 avatar

aspan-trainer's Issues

Kazakh localization for the viewer

In order to add Kazakh language in UI, we need to complete translation of strings.

This task consists of two parts:

  • viewer_kk.pug
  • i18n.js

In the viewer_kk.pug, we need to translate some strings in the a_viewer_page template call. You can identify these strings by comparing similar template calls in adjacent files viewer.pug and viewer_en.pug.

In i18n.js, we need to replace all setEnRu() calls with corresponding setEnRuKz() calls inside functions prepareCommonTranslations() and prepareViewerOnlyTranslations().

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.