GithubHelp home page GithubHelp logo

sarudanya / sharkipedia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharkipedia/sharkipedia

0.0 0.0 0.0 14.55 MB

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

Home Page: http://www.sharkipedia.org

Ruby 61.66% JavaScript 6.68% CSS 0.33% HTML 30.95% SCSS 0.36% Procfile 0.02%

sharkipedia's Introduction

README

Development setup

  1. Ensure you have ruby (version 3.1) 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. Enable the PostGIS extension rake db:gis:setup
  11. Run the rails server rails server
  12. Connect to the application in your browser at http://localhost:3000

Attributions

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

sharkipedia's People

Contributors

coffeejunk avatar dependabot[bot] avatar creeas avatar hkindsvater avatar redrambles avatar sebpardo avatar nickdulvy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.