Coder Social home page Coder Social logo

wikalpa's Introduction

๐ŸŒต Wikalpa

A wild wild west of Indonesian community driven discussion platform.

๐Ÿšฆ Status

Test Build Release codecov

MAINTAINING

๐Ÿ“ฐ Table of Contents

Content
Status
Links
Requirements
How to: Setup Project
How to: Run Test Suite
How to: Run App on Local
How to: Run Dockerized App

๐Ÿ”— Links

๐Ÿงพ Requirements

  1. Git
  2. Ruby
  3. Bundler
  4. PostgreSQL
  5. Redis
  6. Docker (Optional)
  7. Docker Compose (Optional)
  8. Postman (Optional)

๐Ÿฅ‹ How to

๐Ÿ”ญ Setup Project

  1. Clone the repository.
    $ git clone https://github.com/rgxcp/wikalpa.git
    
  2. Add the following lines to your .bashrc, .zshrc, or any others shell configuration file for your machine setup.
    export RAILS_MASTER_KEY=
    export JWT_KEY=
  3. Install the dependencies.
    $ bundle install
    
  4. Setup the database.
    $ bin/rails db:setup
    

๐Ÿ”ฌ Run Test Suite

  1. Make sure you have setup the project.
  2. Run the test.
    $ bundle exec rspec
    

๐Ÿก Run App on Local

  1. Make sure you have setup the project.
  2. Run the server.
    $ bin/rails s
    
  3. Run Sidekiq.
    $ bundle exec sidekiq
    

๐Ÿšข Run Dockerized App (โš ๏ธ NOT TESTED โš ๏ธ)

  1. Download the docker-compose.yml file and place it somewhere else.
  2. Configure the required environment variables in it.
    - RAILS_MASTER_KEY=
    - JWT_KEY=
    - WIKALPA_DATABASE_PASSWORD=
  3. Run the container.
    $ sudo docker-compose up -d
    
  4. Setup the database.
    $ sudo docker exec wikalpa_api bin/rails db:setup
    
  5. Run Sidekiq.
    $ sudo docker exec wikalpa_api bundle exec sidekiq
    

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.