Skip to content

Yamila/solar_radiation_model

 
 

Repository files navigation

Solar Radiation Model

GNU/AGPL License Build Status Coverage Status Code Health

Solar Radiation Model is a python service that provides you with a pipe and filter architecture. Further, it manage a field sensor database and an automatic downloader for satellite images.

Requirements

If you want to deploy this repository with the default settings, on any GNU/Linux or OSX system you just need to execute the next bash command to setting up all the requirements (GNUMakefile should have been installed to this point).

$ PYVERSION=2.7 make sqlite3 deploy

But, if you want use postgresql instead of sqlite3, you should execute the next bash command:

$ PYVERSION=2.7 make postgres deploy

All the testing are made in python2.7. If you haven't installed python2.7 it is automatically installed with the previous command.

Last, you should configure a superuser access to the frontend. To do so, you should execute the next command and then fill the password field.

$ make defaultsuperuser

Running

There are 2 services, the frontend and the backend. First we recommend you to bootup the frontend using the command:

$ make run

Now you can go to a browser on the same machine and use the address http://localhost:8000/admin to login to the service. You should complete the username field with "dev" and in the password field you should use your previously selected password.

Once you have set all the preferences, it's time to start the backend (the processing engine), you should use the next line:

$ make runbackend

About

This software is developed by GERSolar. You can contact us to gersolar.dev@gmail.com.

Bitdeli Badge

About

Solar Radiation Model is a python service that provides you with satellital images and a filter architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Shell 1.2%