This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun onCreate() { | |
.... | |
Pluto.Installer(this) | |
.addPlugin(PlutoNetworkPlugin("network")) // network plugin | |
.addPlugin(PlutoExceptionsPlugin("exceptions")) // exceptions plugin | |
.addPlugin(PlutoLoggerPlugin("logger")) // logger plugin | |
.addPlugin(PlutoSharePreferencesPlugin("sharedPref")) // shared preference plugin | |
.addPlugin(PlutoRoomsDatabasePlugin("rooms-db")) // rooms database plugin | |
.addPlugin(PlutoDatastorePreferencesPlugin("datastore")) // datastore preferences plugin | |
.install() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### Please refer https://gist.github.com/srtvprateek/417ed0b2e1790389f1fdfe12dcebcccf | |
### to setup node and KONG before proceeding | |
## install GIT | |
sudo apt update && sudo apt upgrade | |
sudo apt-get install git | |
## download LetsEncrypt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## install nodejs on your EC2 instance | |
sudo apt-get update | |
curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh | |
sudo bash nodesource_setup.sh | |
sudo apt install -y nodejs | |
## verify installation by checking nodejs & npm versions | |
nodejs -v |