Enviromental variables

The host and port of the API is now available in a .env.sample that can be loaded with source or dotenv. The linux scripts are updated.