- Make sure you have
nodeandnpminstalled (https://nodejs.org) - Run
npm installto install all the dependencies for hosting the server - If you're using a local database for testing, install
mysql-serverand set up a database - Set the environment variables:
- PORT - the port over which to host, default is 8000
- USE_HTTPS - whether or not to enforce HTTPS-only cookies for the session, default is false
- SECRET - the secret used by the session store manager, default is 'test secret'
- DB_HOST - the database hostname, default is 'localhost'
- DB_USER - the username for accessing the database, default is 'max'
- DB_PASS - the password for accessing the database, default is 'secretpass'
- DB_DATABASE - the name of the database to use, default is 'regex_visualiser'
- Create a database
regex_visualiserand run./schema.sqlto set up the correct tables - Run
npm startto launch the web server
joker314/regex_visualiser
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|