Skip to content

Website for e2 SAT Editor, translation app, landing site, online help, backend

License

Notifications You must be signed in to change notification settings

ctlcltd/e2se-site

Repository files navigation

e2se-site

Website for e2-sat-editor.

Contains all the website parts: translation app, landing site, online help, backend.

 

Requirements

  • PHP 8
  • PHP PDO
  • webserver
  • database

Get started

First clone this repository.

git clone https://github.com/ctlcltd/e2se-site.git

Then install Node.js, npm, and all required packages, from src path.

npm install

Most files are served statically.

The project use these JS libraries to generate static files:

  • grunt
  • liquidjs
  • sass
  • clean-css
  • terser

Copy all the assets to public path.

Then build needed files and assets.

npm run copy
npm run build.all

Setup with the script setup.sh to install needed translation files from e2-sat-editor repository.

chmod +x setup.sh
sh setup.sh

Needs a database started from sample.sql source file.

To run the website use a webserver, as the PHP built-in for example:

php -S localhost:8000 -t public/

Configuration

Rename config-example.php or use with your custom settings.

Sample configuration files are config.phps and app/routes.phps.

Serve from public root.

Build the User Manual

To make distributable User Manual (Online Help), use dist.help Grunt task.

npm run dist.help -- --dest=out/

License

Source code licensed under the terms of the MIT License.

About

Website for e2 SAT Editor, translation app, landing site, online help, backend

Resources

License

Stars

Watchers

Forks