Nav apraksta

rota3015 34910f3a34 updated the code for fixing the anyone can delete old rules 7 mēneši atpakaļ
_about 1452fdc3a5 Added module documentation page to Guides 2 gadi atpakaļ
_data 015eba9e6e Code Refactor Phase 1 2 gadi atpakaļ
_guides 19afbe2dec Added configurations to first_rule guide 2 gadi atpakaļ
_includes aa4f9d7591 made corresponding code change in index.html for not showing fork if it is not forked 7 mēneši atpakaļ
_layouts 4b19f87232 Updated code to show black if not Icon and show creator_name in library 7 mēneši atpakaļ
_modules 3d0370d201 Finished module consolidation 1 gadu atpakaļ
_sass cb5fdc1126 Updated code according to deployment on medlab host server 8 mēneši atpakaļ
_templates 53f721b66b Changed "Enterprise" to "Economies" in MEDLab 1 gadu atpakaļ
assets 34910f3a34 updated the code for fixing the anyone can delete old rules 7 mēneši atpakaļ
css 015eba9e6e Code Refactor Phase 1 2 gadi atpakaļ
.gitattributes a1cb43f3ef Introduce end-of-line normalization 7 gadi atpakaļ
.gitignore a946bd85d6 Use an updated version of ruby 4 gadi atpakaļ
.gitlab-ci.yml 33d6d322c6 Update .gitlab-ci.yml: Had to change ruby version from latest to 2, following this thread https://gitlab.com/pages/jekyll/-/issues/40 3 gadi atpakaļ
404.html a946bd85d6 Use an updated version of ruby 4 gadi atpakaļ
Gemfile 015eba9e6e Code Refactor Phase 1 2 gadi atpakaļ
Gemfile.lock eec3e42902 Initial work on module configs. Not yet rendering because ntnsndr doesn't know vue 2 gadi atpakaļ
LICENSE 581f8af187 Add LICENSE 4 gadi atpakaļ
README.md be16abd086 Update 'README.md' 7 mēneši atpakaļ
_config.yml 5164b0b544 Removed and adjusted a bunch of modules 2 gadi atpakaļ
about.md 9a6918ba8d Updated about pages and guides for v3 refactor 2 gadi atpakaļ
book.md 94885506a8 Small tweaks here and there 3 gadi atpakaļ
create.md 015eba9e6e Code Refactor Phase 1 2 gadi atpakaļ
feed.xml 0142a85cee jekyll 3.2.1 default 8 gadi atpakaļ
guides.md 1e8dfdeda4 Added "Governance Workshop" guide 2 gadi atpakaļ
index.html 746c080f3d Removed outreach offer 2 gadi atpakaļ
library.md 67746a0fd9 Added modules to Library listing 4 gadi atpakaļ
templates.md 015eba9e6e Code Refactor Phase 1 2 gadi atpakaļ

README.md

CommunityRule


A governance toolkit for great communities, located at communityrule.info.


This project welcomes contributors. All contributions are assumed to accept the project's GPL and Creative Commons licenses.

To contribute governance templates, copy an existing one at _template/[template_name].md and fill out the YAML metadata. This will automatically add a new template into the system. Propose edits to existing governance templates at _template/[template_name].md.

The app currently depends on Vue.js. Major scripts are located at assets/js/.

To get involved, contact MEDLab.

Run Locally

  1. Install Jekyll Prerequisites
  2. Install Jekyll and the bundler with gem install jekyll bundler
  3. Install project dependencies with bundle install
  4. Run the webserver with bundle exec jekyll serve
  5. View your site locally at [https://localhost:4000]](https://localhost:4000)

Running on cloudrun environment

  1. In order to build use the above procedure and it will create an _site folder
  2. We need to replace this folder in cloudrun environment /app/data/public/ under _site folder
  3. For Frontend the server is Apache which is responsible for delivering the htmls
  4. In order to make the apache deliver made following changes in app.conf which will redirect the backend calls to the 3000 port where our code is running. Frontend is making calls to backend on :3000 port on local host hence following are the lines we changed in /app/data/apache/app.conf ProxyPass /api http://localhost:3000/api ProxyPassReverse /api http://localhost:3000/api Alias / /app/data/public/_site/ Alias /templates/ /app/data/public/_site/templates/