Coder Social home page Coder Social logo

matiasf / polis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from proyectourgente/polis

0.0 1.0 0.0 28.14 MB

:milky_way: Open Source AI for large scale open ended feedback

License: GNU Affero General Public License v3.0

JavaScript 74.82% Shell 0.30% PLpgSQL 1.73% HTML 1.29% Dockerfile 0.11% Clojure 13.29% R 0.05% SCSS 3.90% Handlebars 4.45% Makefile 0.05%

polis's Introduction

Docker

tiene que haber un .env mirar .env.example

Polis

Polis is an AI powered sentiment gathering platform. More organic than surveys and less effort than focus groups, Polis meets a basic human need to be understood, at scale.

Docker Image Builds E2E Tests

๐Ÿšง Disclaimer

The installation instructions below are currently focused on setting up a development environment. These instructions should NOT be considered sufficient for production deployment without additional setup. We do NOT make guarantees of easy setup or management, push-button deployment, security, technical support, future migration paths, data integrity, etc.

Having said this, some of the core pieces of infrastructure described below are potentially useful in a production context, if used correctly. In particular, each subdirectory of the project has its own Dockerfile which could potentially be used as part of a deploy strategy. The docker-compose.yml is currently focused on development environment, but will soon transition to being production focused, with development conveniences extracted as a separate compose file.

If you'd like to set up your own deployment of Polis, we encourage your to reach out to us for support. We look forward to working together ๐ŸŽ‰

๐Ÿ™‹๐Ÿพโ€โ™€๏ธ Get Involved

If you're interested in contributing to the codebase, please see the following:

  • โœ… issues: for well-defined technical issues
  • ๐Ÿ’ฌ discussions: for questions about the software, or more open ended ideas and conversation which don't properly fit in issues (to be clear, not technical support)
  • ๐Ÿ’ฌ chat: if you're interested in connecting with other developers to get orientation around the project
  • more to come soon, hopefully (including kanban board and orientation documentation)!

๐Ÿ’ป Development

If you have a small machine or little hard drive space, you may want to consider running the below with Docker-Machine (DigitalOcean with 2GB memory should be sufficient)

Running with docker-compose:

Before running docker-compose up for the first time:

After cloning, navigate via command line to the root of this repository.

Next, either do a pull (faster):

docker-compose pull

If you get a permission error, try running sudo docker-compose pull, and sudo will be necessary for all other commands as well. To avoid having to run sudo in the future, you can follow setup instruction here: https://docs.docker.com/engine/install/linux-postinstall/

or do a build (to utilize recent or local changes):

docker-compose up --build

once you've either pulled or built, you can run the following when you want to run the project:

docker-compose up

To force a full re-build with no cache from previous builds: docker-compose build --parallel --no-cache

You can end the process using Ctrl+C

Running as a background process

If you would like to run docker compose as a background process, run the up commands with the --detach flag, e.g.,:

docker-compose up --detach

And to stop: docker-compose down

check your ip (only necessary on docker-machine):

docker-machine ip
>>> 123.45.67.89

Visit your instance at: http://123.45.67.89.sslip.io/

Or visit a native docker instance at http://localhost:80/

Sign up at /createuser path. You'll be logged in right away; no email validation required!

What features still need work?

Note: Due to past file re-organizations, you may find the following git configuration helpful for looking at history:

git config --local include.path ../.gitconfig

๐Ÿ” Testing

We use Cypress for automated, end-to-end browser testing! (See badge above.)

Please see e2e/README.md and CONTRIBUTING.md.

๐Ÿš€ Deployment

Please see docs/deployment.md

ยฉ๏ธ License

AGPLv3 with additional permission under section 7

polis's People

Contributors

audreyt avatar ballpointpenguin avatar ccallero avatar colinmegill avatar crkrenn avatar damianpintos avatar dependabot[bot] avatar dvagala avatar factoidforrest avatar huulbaek avatar joshsmith2 avatar kenwheeler avatar mbjorkegren avatar metasoarous avatar micahstubbs avatar midgleyc avatar misscs avatar mjerkov avatar patcon avatar patrickas avatar paulathevalley avatar raulsperoni avatar ricardopoppi avatar rohanrichards avatar thatonebeagle avatar urakagi avatar vasrou avatar virgile-dev avatar web-flow avatar willcohen avatar

Watchers

 avatar

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.