1.0.2 • Published 6 years ago
appinstall v1.0.2
appinstall-mobile-manager
Private key management
Private keys are imported and removed on the command line.
Converting from PKCS12 before adding a key
With a Private key that was exported from KeyChain. You'll be prompted for password that was set when exporting.
openssl pkcs12 -in Certificates.p12 -nocerts -out private_key.pem -nodes
# Where private_key.pem is your KEYFILE for the below.Adding a key
RACK_ENV=production ./bin/rake keys:import name=NAME key=KEY_FILEAt this point key names are not important, but should be unique.
Removing a key
RACK_ENV=production ./bin/rake keys:remove name=NAMEOR
RACK_ENV=production ./bin/rake keys:remove checksum=XXXXXIf a key checksum is not known, it can be determined from either the original key file or the corresponding certificate file:
RACK_ENV=production ./bin/rake keys:checksum file=CERTIFICATE_OR_KEY_FILEDevelopment setup
Required Dependencies:
Imagemagick
~ brew install imagemagickMongo
~ brew install mongoRedis
~ brew install redisForeman
~ gem install foremanBundle install
~ gem install bundler
~ bundleYarn
yarn installSetup DB
~ bundle exec rake db:setupStart the server
~ foreman startOpen browser and goto
http://localhost:5000/adminTroubleshooting
If you encounter issues installing libv8, try running the following command to successfully install it.
~ GCC_TREAT_WARNINGS_AS_ERRORS=NO gem install libv8 -v 3.16.14.13If you encounter issues installing imagemagick, try running the following command to successfully install it.
~ brew uninstall imagemagick
~ brew install imagemagick@6 && brew link imagemagick@6 --force
~ brew link --overwrite imagemagick@6
~ echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.zshrc1.0.2
6 years ago