Skip to content

clientforgit/agricultural_microservice

Repository files navigation

agricultural_microservice

Microservice for accesing agricultural database records by name using PHP.

Building from source

To build the source microservice you need to install PHP and MySQL on your mashine.

Check out source:

git clone https://github.com/clientforgit/bus_booking

Put location of АгроекологіяПоля.csv file inside agricultural_db.sql file:

ezgif com-video-to-gif(1)

Open mysql terminal and execute following commands for enable LOAD DATA LOCAL INFILE and import sql querys from file:

mysql> set global local_infile=1;
mysql> source <location of file agricultural_db.sql>

Change configuration in db_config.json to your database configuration. Now, start php local server in cloned repository:

php -S localhost:8080

As a result, we have a local server on the port 8080: image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages