Coder Social home page Coder Social logo

erulabs / athens-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neotyk/athens-backend

0.0 2.0 0.0 62 KB

Self-hosted backend with persistence and real-time collaboration. Plan to move code into https://github.com/athensresearch/athens

Clojure 88.01% Shell 10.62% Dockerfile 1.37%

athens-backend's Introduction

athens-backend

Development

To start the project locally: install Clojure, clone the repo, and run lein run.

You might want to specify HTTP port that backend will listen to. Default value is: 1337 Provide your own port number via command line option -p/--http-port or environment variable HTTP_PORT.

Deployment

Heroku

Deploy

Steps to test out Real time collaboration

  1. Click on the Deploy to Heroku
  2. Follow the on screen instructions to make an app(give it a name) and wait until the setup is finished(~3 mins)
  3. In the athens app click on Database/Library icon on the top right and navigate to Remote DB tab
  4. Add remote address as your-app-name.herokuapp.com and token as x (single letter). For eg. if your app name on heroku is test-app then the remote address is test-app.herokuapp.com
  5. Share address and token with your team and start simultaneously working on the same graph!

Important Note

This is only a test deployment and all changes will be lost once heroku dyno reloads(which happens once a day atleast)

Docker

  1. Clone the repo
  2. docker build -t athens-backend .
  3. docker run -it -p 13337:13337 athens-backend

Note that the Docker container exposes "13337" by default instead of "1337" so that this container can run in less privileged environments which may not allow low-ports. It can still be overridden by the HTTP_PORT variable.

athens-backend's People

Contributors

arkredm avatar erulabs avatar neotyk avatar tangjeff0 avatar

Watchers

 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.