Code Monkey home page Code Monkey logo

mfp-policy's Introduction

CONSUL logo

ก้าวไกล Policy

ขีดเขียนเส้นทางใหม่ ก้าวไกลไปด้วยกัน

License: AGPL v3

Accessibility conformance A11y issues checked with Rocket Validator

This is the opensource code repository cloned from CONSUL (https://github.com/consul/consul).

Configuration for development and test environments

Prerequisites: install git, Ruby 2.7.6, CMake, pkg-config, shared-mime-info, Node.js and PostgreSQL (>=9.5), first before proceeding to the next steps. Some of them could be installed by using the following commands.

#bundler
sudo gem install bundler
#cmake
brew install cmake
#pkg-config
brew install pkg-config
#PostgreSQL
brew install postgresql

Then, install this project by:

cd mfp-policy
bundle install
cp config/database.yml.example config/database.yml
cp config/secrets.yml.example config/secrets.yml
bin/rake db:create
bin/rake db:migrate
bin/rake db:dev_seed
RAILS_ENV=test rake db:setup

Run the app locally:

bin/rails s

Run the tests with:

bin/rspec

You can use the default admin user from the seeds file:

user: [email protected] pass: 12345678

But for some actions like voting, you will need a verified user, the seeds file also includes one:

user: [email protected] pass: 12345678

Configuration for production environments

See installer

License

Code published under AFFERO GPL v3 (see LICENSE-AGPLv3.txt)

mfp-policy's People

Contributors

junsudas avatar nuza555xx avatar tarawutc avatar pongsakorn-gam avatar nucastcle avatar tummanoonw avatar g4mblers avatar nes224 avatar

Watchers

Natthaphong Ruengpanyawut avatar  avatar Seubpong Monsar avatar

Forkers

nuza555xx

mfp-policy's Issues

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.