Git Product home page Git Product logo

polisclientparticipation's Introduction

NOTE: This separate project has been archived in favor of the monorepo setup at https://github.com/compdemocracy/polis.


Polis Client/Participation View

This is the code for the view that conversation participants see.

Development

Install with npm and bower (npm install --global bower):

npm install
bower install

There is a polis.config.template.js file which will have to be copied over to polis.config.js, and edited as appropriate.

To run: ./x

The dev server should now be running at localhost:5001 (or whatever port you set in your polis.config.js) So... you might think that you should now be able to go to this address and see the polis interface. However, this is not the case. Because of preprocessing required of the index.html file before it will load (including the embedding of the initial data payload in the html), it is necessary that the application be accessed through a running instance of the your polisServer (by default localhost:5000).

Also note that the polisServer process will need to know via its config the port on which this, the participation client code, will be available. If you don't mess with any of the default port settings you shouldn't have to worry about all this nonsense. Just know that if you do, you will then need to update these port variables in multiple places.

Troubleshooting

If you get an error running ./x that looks something like Error: watch /home/csmall/code/polisClientParticipation/js ENOSPC trying to run, this may be because your system has too many watches active. If you see this, try running echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p to increase the number of available watches on your system.

Deployment

Before pushing to s3: gulp dist

Then use the deployToPreprod script to deploy to your preprod server to test. Then deploy_TO_PRODUCTION when you are ready.

Other Requirements

For gulp-ruby-sass to enable sourcemap options, it requires Sass >= 3.3.0

polisclientparticipation's People

Contributors

mbjorkegren avatar colinmegill avatar paulathevalley avatar metasoarous avatar virgile-dev avatar kenwheeler avatar rohanrichards avatar ricardopoppi avatar huulbaek avatar audreyt avatar alexlande avatar ajsmitha7 avatar bamstam avatar erthward avatar patcon avatar

Stargazers

taka (Shunsuke Takagi) avatar Pierre Noël avatar FlyingCrazyer Inc avatar Vitor Hugo Salgado avatar Cory J Slep avatar  avatar Antonis avatar Mansour Kheffache avatar  avatar Joel Boehland avatar  avatar ckatalyzen avatar ZARY Lab avatar Hernan Liendo avatar  avatar  avatar Russell Hoy avatar Robin Finkbeiner avatar 蔡仲明 (Romulus Urakagi Tsai) avatar Uirá Porã avatar  avatar Micah Stubbs avatar Ike Banto avatar  avatar Johnson Chetty avatar Shih-Ying Allen Chen avatar

Watchers

 avatar  avatar Alexandre Enkerli avatar James Cloos avatar  avatar  avatar  avatar Joel Lim avatar

polisclientparticipation's Issues

Status of this repo

This repo is in the process of being deprecated, in favour of a monorepo for all pol-is components.

Please open any future issues in https://github.com/pol-is/polisServer

This monorepo code currently exists in-progress on dev branch of polisServer repo:
https://github.com/pol-is/polisServer/tree/dev

In the future, this will be migrated to master and will be available at:
https://github.com/pol-is/polis

This repo will be archived and set to read-only in the future.

See here for details: https://github.com/pol-is/polis-issues/issues/134

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.