Here are straight-forward instructions to setting up a bunch of different software on FreeNAS. If you make a terrible error, just throw up another plugin sandbox and repeat.
This file contains hidden or 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
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| import json | |
| from flask import Flask, render_template, request | |
| from flask_googlemaps import GoogleMaps, Map | |
| # require Flask-GoogleMaps (https://github.com/rochacbruno/Flask-GoogleMaps) | |
| app = Flask(__name__) | |
| api_key = 'java-chip-frappuccino' # change this to your api key | |
| # get api key from Google API Console (https://console.cloud.google.com/apis/) |