Lorenah M.
This application was inspired by Douglas Fir for a case study on whether the forest authority should allow deforestation or not. It allows rangers to track wildlife sightings in the area.
Input | Description | Output |
---|---|---|
Add animal (endangered & common) | click on the add animal button | animal added to list. |
Add sighting | click on add sighting button | new sighting is added |
View animals/ sightings | click on link on the navigation bar | all recorded animals and sightings are seen |
Edit/Delete animal/sighting | click on edit/delete button | new animal/sighting is edited/deleted |
1.You need to have java installed. You can use sdkman. Follow the instructions on the sdkman installation process. Then install java:
sdk install java
2.Gradle This is a build tool for the java app, you can install it through sdkman:
sdk install gradle
-
You will need Internet connection.
-
Get to this WildMap repo on github.
Link:-> https://github.com/LORENAH-MBOGO/Wild_Map
-
From there you can access WildMap.
-
Clone the project.
-
get into project folder (cd into project).
-
If you have all the Pre-requisites you can run the application.
gradle run
navigate to localhost:4567 to view the website.
- Install postgres.[ Create User with password.]
1.Launch postgres
2.Type in psql
Run these commands
3. CREATE DATABASE wildmap;
4. \c wildmap;
5. CREATE TABLE animals (id serial PRIMARY KEY, name varchar, health varchar, age varchar, type varchar);
6. CREATE TABLE sightings (id serial PRIMARY KEY, animal_id int, location varchar, ranger_name varchar, timestamp timestamp);
7. CREATE DATABASE wildmap_test WITH TEMPLATE wildmap;
8. Make sure to edit the DB.java file with the credentials created in order to connect to your database.
- Java , intellij IDEA
- [Maven] (https://maven.apache.org/)
- Heroku CLI
- Bootstrap.
- Cascading Style Sheets.
- Handlebars.
In case of any issues, bugs, or you would like to contribute or support, contact me via:
- Email :- lorayne911@gmail.com.
- Github-Username :- LORENAH-MBOGO
- This project is licensed under the MIT Open Source license Copyright (c) 2020. [LICENCE]