Giter Site home page Giter Site logo

001101 / nitro-fediverse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from human-connection/nitro-fediverse

0.0 1.0 0.0 239 KB

Human Connection joins the Fediverse using ActivityPub

License: MIT License

JavaScript 83.42% HTML 7.10% Gherkin 8.58% Dockerfile 0.89%

nitro-fediverse's Introduction

Nitro-Fediverse

This repository is maintained by an active community. We have regular meetings, run pair-programmings and tutorials in our online learner community at Agile Ventures. Join our Chat here and watch our latest meetings or pair-programmings.

Start contributing

Clone the repository:

git clone https://github.com/Human-Connection/Nitro-Fediverse.git

Switch in the folder

cd Nitro-Fediverse

Prerequisite

Mongodb need to be installed. It is used to store all ActivityPub related meta data.

Installation and Usage without Docker

Make sure you have node and yarn installed:

$ node --version
v10.15.0
$ yarn --version
1.12.3

Run:

$ cp .env.template .env

And change .env according to your setup.

Install dependencies:

yarn install

Run:

yarn run server

Application is running on localhost:4100

Installation and Usage with Docker

Make sure you have docker and docker-compose installed:

$ docker --version
Docker version 18.09.1-ce, build 4c52b901c6
$ docker-compose --version
docker-compose version 1.23.2, build unknown

Start and build containers:

$ cd Nitro-Fediverse
docker-compose up

Application is running on localhost:4100

Testing

Run:

yarn run test

Exposing the endpoint

You can use a service like ngrok to test things out before you deploy on a real server.

Run:

ngrok http 4100

Copy the domain name (e.g. 9bab9fd1.ngrok.io) and run:

DOMAIN=9bab9fd1.ngrok.io yarn run server

or

DOMAIN=9bab9fd1.ngrok.io docker-compose up

depending on your setup.

Debugging

This repository uses debug as logging tool. Just take a look at the imports of a file and search for e.g. require('debug')('ea:utils'). If you want to see the debugging output for this specific file, run one of the above commands prefixed with DEBUG=ea:utils.

You can also see all debugging output available by prefixing with DEBUG=ea*.

Deployment

๐Ÿšง Coming soon.

License

See the LICENSE file for license rights and limitations (MIT).

Credit

This repository is based on Darius Kazemi's repsitory "express-activitypub".

nitro-fediverse's People

Contributors

dariusk avatar roschaefer 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.