Giter Site home page Giter Site logo

README for 'Browser RPG-Adventure'-project

Update and Info (2023-11-05)

After finishing my studies, I have to consolidate my projects, repositories and most importantly my rented servers. Therefore, I will shut down the demo at https://rpg.tstsrv.de and move it to my private server. Also this repo under the https://github.com/tstsrv-de/rpg oraganization will be archived.

For the new demo check out https://rpg.haenno.de and for the most recent code check out https://github.com/haenno/rpg.

Old Readme

This is the code and documentation for "Browser RPG-Adventure"-project (as part of an examination in the 5th semester of business informatics, FOM University of Siegen).

The final product, the game MONSTER SLAYER, can be found and played at https://rpg.tstsrv.de.

The project documentation submitted for evaluation can be found here: https://github.com/tstsrv-de/rpg/raw/main/doku/thesis_main.pdf.

The authors are:

Credits and acknowledgements

Short howto for local testing and/or dev useage

  • Install git and docker
  • Open a terminal, create an empty directory and change into it
  • Clone git repo into the current directory with git clone [email protected]:tstsrv-de/rpg.git .
  • Copy example.env to .env* in basedir with copy example.env .env (on πŸͺŸ) or cp example.env .env (on 🍎 and 🐧)
  • Also copy rpg/rpg/example.env to rpg/rpg/.env in rpg/rpg/-folder with copy "rpg/rpg/example.env" "rpg/rpg/.env" (on πŸͺŸ) or cp rpg/rpg/example.env rpg/rpg/.env (on 🍎 and 🐧)
  • Start building of the docker container: docker-compose -f local-dev-docker-compose.yml build
  • Start the containers with: docker-compose -f local-dev-docker-compose.yml up -d
  • Apply updates on local db with: docker-compose -f local-dev-docker-compose.yml exec rpg python rpg/manage.py makemigrations and: docker-compose -f local-dev-docker-compose.yml exec rpg python rpg/manage.py migrate
  • Load some sample-/base-data to database with: docker-compose -f local-dev-docker-compose.yml exec rpg python rpg/manage.py loaddata db_sample_data.json
  • Restart container with: docker-compose -f local-dev-docker-compose.yml restart
  • Open site locally http://localhost:8000/

Optional howto for use of Django admin

  • Create local superuser with: docker-compose -f local-dev-docker-compose.yml exec rpg python rpg/manage.py createsuperuser
  • Open and login to admin: http://localhost:8000/admin

Scripts for following usage

If you want to keep using this local installation, just use on of the scripts local-dev-start.bat (on πŸͺŸ) or local-dev-start.sh (on 🍎 and 🐧) to start it back up again. On each start they will collect and apply migrations, load sample data to the database from the *.json file in the base-dir and start the docker containers (Django server and the database) back up again. Also it will keep the terminal open, so that you can see all the (error-)messages and output from Django and the database.

Licence

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org/

tstsrv-de's Projects

rpg icon rpg

Code and documentation for "Browser RPG-Adventure"-project (as part of an examination in the 5th semester of business informatics, FOM University of Siegen).

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.