-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Here are the different programs you will need to follow the different steps.
- docker
- docker-compose
- npm
- certbot (only useful if you wish to setup your own instance)
To install the backend it is very straight forward. Navigate to the backend folder inside of the repo add inside of this folder the files used for https.
./key.pem # The private key
./cert.pem # The full key chain
After adding those two files at the root of the backend you can then move back to the root of the repository and edit the .env file and edit the secret. From here you have to run
$ docker-compose up --build -d
You might want to run this command as root with either sudo or doas if your account isn't part of the docker group.
To build the front-end currently I use expo and the repo is setup to be compiled that way. To do so open a terminal inside of the app folder of the repo and run the following commands:
$ npm install
[....]
$ npm start
You then need to open an other terminal in the exact same location and run the following command:
$ expo build:android
If this command fails you might need to restart the expo server by redoing the previous step. When the build is finished download the apk from the expo website and install it on your device running the following command or by downloading it directly on your mobile device.
$ adb install ./xss_bomb-*.apk
XSS_BOMB