GithubHelp home page GithubHelp logo

lunaboards-dev / awoo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dangeru/awoo

0.0 0.0 0.0 21.56 MB

Awoo is a textboard engine based on the Sinatra micro-framework

License: GNU General Public License v3.0

Ruby 39.70% HTML 38.71% Makefile 0.23% CSS 2.83% JavaScript 17.96% C 0.57%

awoo's Introduction

awoo

Awoo is a textboard engine based on the Sinatra micro-framework

You'll need the sinatra, sinatra-contrib, mysql2, and rerun gems, as well as a mysql server set up using the create.sql file.

Running sudo make install will make a user named awoo, copy src to /opt/awoo, set up your database and put a service file in /etc/systemd/system so you can run sudo systemctl start awoo to start the server on port 8080

Tests

To run tests, you'll need the server already running, you can adjust the host and port in src/test/generic_test.rb but it defaults to 127.0.0.1:8080. It will use the /test board and expects three janitors, test, who moderates /test and is not a moderator, test2, who moderates /test and IS a moderator, and test3, who does not moderate test

If you want to test against a production environment but are worried about security, you can change their passwords, the values used when logging in are pulled from config.json

The tests depend on the http-cookie gem

awoo in use

Todo List

  • On /ip/:addr, maybe let people select more than one board at a time to ban the IP from?

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.