Giter Site home page Giter Site logo

divercoin's Introduction

DiverCoin

DiverCoin is a web application that allows users to calculate and track their multiple crypto investments.

Getting started

Ruby and Ruby on Rails versions

Running locally

Add the following line to your /etc/hosts file:

$ echo '127.0.0.1   divercoin.local divercoin-postgres divercoin-redis' | sudo tee -a /etc/hosts

The project supports SSL and the PEM and key files are expected to be located at ./ssl.

You can use mkcert to easily create a certificate:

$ mkcert -cert-file ./ssl/divercoin.local.pem -key-file ./ssl/divercoin.local.key divercoin.local '*.divercoin.local'

If you are using rvm, run rvm use --create --install to install Ruby 3.2.2 and create the gemset. You can use .env.example to define the database and Redis information depending on your installation.

Using Docker

The project contains the docker-compose.yml and Dockerfile required to run completely dockerized. If you already have installed docker and docker-compose, run the following to bring up the containers:

$ docker compose up --force-recreate --remove-orphans

Once the containers are up, go to https://divercoin.local:3000 to access the application.

Running specs

To run the specs locally, the database should be accessible. Use the .env.test file to define the required variables and simply run:

$ ./bin/rspec

The specs can also be run on docker:

$ docker compose run --rm -it ./bin/rspec

Screenshot

Home - DiverCoin

Sign up - DiverCoin ssssss Sign in - DiverCoin

Home - Signed in - DiverCoin

Add balance - DiverCoin

Portfolio - DiverCoin

Currencies - DiverCoin

Settings - DiverCoin

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.