synquery-bootstrap
v0.1.1
Published
Command line tools for developing applications on Synquery web-platform.
Maintainers
Readme
Synquery Bootstrap

Table of Contents
Intro
synquery-bootstrap allows you to quickly install and setup develop environment with synquery web-platform via the command line.
Example:
$ sb use [project id]
Now ready to execute \#project_id Simple as that!
synquery-bootstrap also provides convenience tools for building Single-Session Application:
1. HTML replacer
# change parcel absolute paths to relative
$ node .sb/etc/replacer.js relativize -A
# add or modify html node in bulk
$ node .sb/etc/replacer.js add -A head content-type "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">"
# delete html node in bulk
$ node .sb/etc/replacer.js del -A head meta,content-typeSynquery web-platform technology basis
- Node.js
- Mongodb
- Yarn package manager
- Parcel
- Foonyah CI - A CI oriented testing tool for npm packaged project
About
synquery-bootstrap needs the well-known javascript runtime node.js. We recommend to install nvm before installing this module.
Installing and Updating
Install & Update Script
After installing node.js, you should make your project directory and move into it.
mkdir myproject
cd myprojectThen, to install the release version:
npm install synquery-bootstrapOr to install the latest version(only on bash environment):
curl -o- https://raw.githubusercontent.com/synquery/synquery-bootstrap/refs/heads/main/cmd/setup.sh | bashwget -qO- https://raw.githubusercontent.com/synquery/synquery-bootstrap/refs/heads/main/cmd/setup.sh | bash