Skip to content

Sharkipedia an open source research initiative to make all published biological traits and population trends on sharks, rays, and chimaeras accessible to everyone.

Notifications You must be signed in to change notification settings

redrambles/sharkipedia

This branch is 170 commits behind sharkipedia/sharkipedia:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 20, 2022
Aug 30, 2023
Dec 20, 2022
Jul 22, 2023
Jun 17, 2023
Aug 6, 2023
Dec 28, 2023
Feb 4, 2019
Jul 7, 2020
Nov 27, 2023
Feb 4, 2019
Feb 4, 2019
Feb 4, 2019
Mar 23, 2020
Mar 14, 2021
Dec 20, 2022
Feb 4, 2019
Jan 14, 2023
Jun 25, 2023
Feb 9, 2024
Feb 9, 2024
Dec 26, 2022
Dec 26, 2022
Jan 14, 2023
Dec 31, 2019
Dec 20, 2022
May 9, 2021
Feb 14, 2021
Jun 17, 2023
Feb 6, 2024
Mar 23, 2020
Feb 6, 2024

Repository files navigation

README

Development setup

  1. Ensure you have ruby (version 3.2) installed, for instructions see the Install Rails Howto.
  2. Ensure you have node.js installed
  3. Ensure you have the postgresql database installed
    • macOS: brew install postgresql then follow instructions
    • windows: https://www.postgresql.org/download/windows/, then follow instructions and make a note of the username & password
    • Linux: depending on your distribution install, configure and start postgresql:
      1. Create user in posgres: sudo -u postgres createuser username
      2. Give permission to user to create database: sudo -u postgres psql and in the postgres terminal: ALTER USER username CREATEDB;
  4. Ensure you have PostGIS installed. For instructions, check the project's website.
  5. Clone the repository to your computer
    git clone https://github.com/sharkipedia/sharkipedia.git
    
  6. Move into the project folder (cd sharkipedia)
  7. Install project dependencies: bundle install
  8. Windows/Linux: in the config/database.yml configure the username and password under development which you set during the installation of postgresql. macOS: if you installed postgres with brew you don't need to do anything, if you installed postgres in another way you might have to configure a username and password
  9. Initialize the database rake db:setup (if this command throws an role "username" does not exist or permission denied to create database error, see above to create postgres user and give permission)
  10. Run the rails server rails server
  11. Connect to the application in your browser at http://localhost:3000

Attributions

The original logo was taken from https://svgsilh.com/image/1085669.html

About

Sharkipedia an open source research initiative to make all published biological traits and population trends on sharks, rays, and chimaeras accessible to everyone.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.7%
  • HTML 28.4%
  • JavaScript 6.1%
  • Other 0.8%