First go to the microsite folder. Upload the zip file of the microsite lets say abc.zip.
Then bring the abc zip to the current directory.
Then unzip the folder
Visit the abc folder directory. Where there is package.json , give the command NPM INSTALL and NPM RUN BUILD.
Then in same directory give this below command:
ls -l /etc/apache2/sites-enabled
Find the relevant config files. In my case it was seglko.conf and seglko=ssl.conf .
Open these conf files and add the routing rules for abc site one by one in both files.
After that build the file of abc by using command : NPM RUN BUILD
After that restart the server of apache. sudo systemctl restart apache2
Top comments (0)