Git Product home page Git Product logo

rin's Introduction

The RIN

THE RIN WEBSITE

Refugee Invesment Network website

proving that refugees are investables

#Installation

  • fork the repository

  • clone your own instance to your local disk

  • install node.js and npm latest version globlally

you will need to provide the google map api key

  • navigate to
    /client/src/config
  • rename the file map.config.1.js to map.config.js and put the map api key inside it

  • navigate to the project directory

  • run this commands to install node dependencies

    npm install

it will install the server dependencies and the client dependencies

the project uses environment variables you should define

    RDS_HOSTNAME=********
    RDS_USERNAME=********
    RDS_PASSWORD=********
    RDS_PORT=****
    AWS_ACCESS_KEY_ID=***********
    AWS_SECRET_ACCESS_KEY=***********
    RDS_DATABASE=***********
    S3_BUCKET_NAME=***********
    HASH_SECRET=***********

open config file in /config/config.js and change development settings to your local settings

development: {
    username: "*****",
    password: "********",
    database: "******",
    host: "********",
    dialect: "********"
}

now you need to setup the database

##### start by installing sequelize cli globally on you computer
    $ npm install -g sequelize-cli

create the database using this command

    $ sequelize db:create

create the tables using this command

    $ sequelize db:migrate

fill the tables with content using this command

    $ sequelize db:seed:all
  • to serve the static react app run this command
    npm run dev
  • to run the node server run this command
    npm start
  • to run the nodemon development that watches for changes run this command
    npm run watch

rin's People

Contributors

almuhder avatar shsukkar avatar z3by avatar

Watchers

 avatar

Forkers

shsukkar almuhder

rin's Issues

BUG data header navigation buttons

Shatha, please could you take a look at the data section
it has many problems like

  1. header navigation buttons are not working
  2. the page loading time still too much it needs some optimization

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.