Skip to content

asmarcz/orbitals_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Repository for https://orbitals.app

Orbitals.app can be used to learn the electron configurations of elements of periodic table, see how their orbitals look in space and test your knowledge about them.

Build

In the root of cloned repository run:

  1. npm install
  2. node bin/build.js --WVars --timestamps

The www (dist) directory is now deployable.

Options

Flag --dev watches for changes on files in schema.

Flag --WVars makes errors for not defined variables only warnings.

Flag --timestamps enables timestamps in generated filenames.

Flag --same-build keeps timestamps the same for all generations.

Flag --overwrite causes generated files to be always overwritten regardless of content.

To use development mode successfully you will currently need both flags because some variables need empty string as default:

node bin/build.js --dev --WVars

Web server

For simple web server run:

php -S localhost:8000 -t www/ bin/router.php

About

Mirror of https://gitlab.com/asmarcz/orbitals_app Repository for Orbitals.app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published