Code Monkey home page Code Monkey logo

firestorm's Introduction

Firestorm

An open-source forum engine, with an Elixir+Phoenix backend and an Elm frontend.

A community-funded project from DailyDrip.

Build Status

This is the Firestorm Forum project. It's presently at version 0.10, nearly ready for a 1.0 release. You can view the running forum at http://forum.firestormforum.org.

Patrons

This project was funded by a Kickstarter.

All of the patrons that made it possible are listed in the PATRONS file.

Development

Using Docker

  1. Setup a complete docker and docker-compose installation
  2. Clone this repository
  3. Run docker-compose up -d to run the containers
  4. Create the database: docker-compose run firestorm mix ecto.create
  5. Run the migrations: docker-compose run firestorm mix ecto.migrate
  6. Visit localhost:4000 to see firestorm running.

You can also run docker-compose logs -f firestorm to see the server logs.

Without Docker/native setup

Here are some basic steps to get Firestorm running

git clone [email protected]:dailydrip/firestorm.git
cd firestorm/
# Set the following environment variables
# AWS_ACCESS_KEY_ID=TKTK
# AWS_SECRET_ACCESS_KEY=TKTK
# AWS_S3_BUCKET=TKTK
# AWS_S3_REGION=TKTK
# GITHUB_CLIENT_ID=TKTK
# GITHUB_CLIENT_SECRET=TKTK
# SENDGRID_API_KEY=TKTK
# config postgres in config/database.yml
# start postgres
mix deps.get
mix ecto.create
mix ecto.migrate
cd assets && npm install
cd ../
mix phx.server

Features

Here are the planned features and their status:

  • Continuous Integration
    • We're using Semaphore CI for this
  • Continuous Deployment
  • OAuth
    • At present, we only support GitHub. We'll support a lot more services in the future, but until we're happy with the state of the rest of the dogfooding session we'll stick with GitHub.
  • Email (first class!)
    • The goal here is to be a fantastic replacement for Google Groups
  • Forums
  • Topics
    • Stickies
  • Posts
  • Personal Messaging
  • Mentions
  • Documentation
    • Example Project
    • Quickstart / Setup Guide
    • Docs for systems integrating with firestorm within the same BEAM vm
  • Tags
  • Search
  • Slack Integration
  • Plugin System
  • Custom Profile Fields

Quick Fixes

  • Fix timestamps, use moment.js and ISO format / time_abbr helper
  • Style pagination on user show
  • [-] navigation enhancements
    • threads i'm participating in
      • drill down by category (for category show sidebar)
    • threads i'm watching
      • drill down by category (for category show sidebar)
    • recently viewed
      • drill down by category (for category show sidebar)
    • users
    • your profile
  • quote button
  • replying via email
  • reactions / emoji picker
  • tags

Configuration

S3

Attachments are stored on S3. Consequently, you will need to create an S3 bucket to store them, as well as an API user that can write to it and list all of your buckets, and configure the bucket for CORS.

You also need to set 4 environment variables:

export AWS_ACCESS_KEY_ID=XXXX
export AWS_SECRET_ACCESS_KEY=XXXX
export AWS_S3_BUCKET=XXXX
export AWS_S3_REGION=XXXX

CORS configuration

Here's an example CORS configuration:

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <CORSRule>
    <AllowedOrigin>http://localhost:4000</AllowedOrigin>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedHeader>*</AllowedHeader>
  </CORSRule>
  <CORSRule>
    <AllowedOrigin>http://firestorm-dogfood.herokuapp.com</AllowedOrigin>
    <AllowedMethod>POST</AllowedMethod>
    <AllowedHeader>*</AllowedHeader>
  </CORSRule>
</CORSConfiguration>

License

Firestorm is MIT Licensed.

firestorm's People

Contributors

knewter avatar adamdill avatar baroquon avatar daveman avatar dylanguedes avatar manukall avatar slashmili avatar nagasaki45 avatar thmzlt avatar

Watchers

Rico Moorman avatar James Cloos avatar  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.