1) Install SuperTokens
Once downloaded, extract the zip file and run the install commands.
sudo ./install [--path=path location] [--with-source]
./install [--path=path location] [--with-source]
Rem run as an Administrator
install.bat [--path=path location] [--with-source]
--path=path location: Specify the relative or absolute installation path for SuperTokens. If not provided, the installation path will be as follows:
--with-source: If this is set, then all third party dependencies will be installed along with their source. This option has no affect on the execution of SuperTokens.
2) Configure SuperTokens
Before you can start SuperTokens, please set the relevant configuration options.
3) Setup database
Please visit the relevant database page under the Database Setup section
4) Check installation
Verify that SuperTokens has been installed correctly by running the following command:
5) Other CLI commands
To view the list of available commands, for example to start, stop, list SuperTokens processes, run:
Head over to the CLI docs to learn more about the available commands.