Giter VIP home page Giter VIP logo

open5e's Introduction

open5e

Build Status

An SRD and open-source material reference site for 5th edition D&D

Contributing

Open5e is a community project driven by a small number of volunteers in their spare time. We welcome any and all contributions! Please join our Discord to help out: https://discord.gg/9RNE2rY or check out the issue board if you'd like to see what's being worked on!

Starting the Server

The Django API uses Django REST Framework for its browsability and ease of use when developing CRUD endpoints.

Server Quickstart

The server runs in a docker container. You'll need to first install docker on your system, then getting it running is extremely simple:

starting from root /open5e directory:

export OPEN_5E_ROOT=`pwd` #set the /server folder as the root of the Python project
export DJANGO_SECRET='@pt#ouh)@!c+2eh(!aj_vtc=s7t$uk-l1!ry3^fcercz%si01@' # this should be a nukable test key that you're manually replacing at startup time for production
docker-compose up

You will want to leave the server terminal running while you launch the UI in a separate termainal so you can observe requests.

Building the UI layer

Open5e uses the Nuxt framework for Vue.js, which takes care of a lot of the architectural work for the frontend layer while allowing a large amount of flexibility.

Build Setup

From /open5e

cd ui
# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

Other build options:

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

open5e's People

Contributors

eepmoody avatar jasonmcalpin avatar maxrothman avatar aciddrain avatar enkryptor avatar augustjohnson avatar tetra-cube avatar taormina avatar snan avatar cameronblandford avatar jaklein avatar pvanduyse avatar lackhand avatar realdeuce avatar oganm avatar michaeleconomy avatar athaman avatar bgotink avatar willmorrison avatar tjcarroll11 avatar scottbwar avatar pjmcnally avatar panoramicpanda avatar melinate avatar m-higgins avatar killerzomb avatar lynxlynxlynx avatar hansjoachim avatar stuartf avatar christopherfowers avatar

Stargazers

Erica Cau avatar  avatar

Watchers

James Cloos 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.