Coder Social home page Coder Social logo

captaindapper / smrpg_web_randomizer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dorkmasterflek/smrpg_web_randomizer

0.0 1.0 0.0 2.76 MB

Web-based randomizer for Super Mario RPG

Home Page: https://randomizer.smrpgspeedruns.com

License: GNU General Public License v3.0

Python 84.79% HTML 14.45% CSS 0.45% JavaScript 0.30%

smrpg_web_randomizer's Introduction

Super Mario RPG Open World Randomizer

New web-based randomizer for Super Mario RPG based on the original command line Gentle Beauty and Raw Power randomizer by abyssonym.

This web version is a Django-powered site. It is assumed you know how to deploy Django to use this.

If you came here just looking to use the randomizer to generate games, head to the official community website where we host this for everyone. This repository is only needed if you want to contribute to the development of the randomizer.

Install Python

This app is written in Python 3, which is sort of implied by the requirements since Django 2.0 and beyond doesn't support Python 2 any longer. You should install the latest version of Python 3 on your system, instructions available on the official site.

Installing required packages

I would recommend making a virtual environment using something like virtualenv, or Pipenv. Then install the required packages:

> pip install -r requirements.txt

Setting up

  1. Make a copy of example_local.py and call it local_settings.py. This is where you will enter any deployment-specific settings for your instance of the website.

    > cp example_local.py local_settings.py

  2. Change local_settings.py as needed. Generally the only thing that would be different in your deployment is the database settings. The default is a local SQLite file. This is fine for local development, but I recommend something more robust for production, ex. PostgreSQL.

  3. Run all migrations for your database:

    > python manage.py migrate

  4. Collect all the static files as per standard Django deployment:

    > python manage.py collectstatic

  5. Set up your Django web server however you prefer. There are plenty of resources out there on this topic for production, but for a local development environment you can just run the local test server as normal:

    > python manage.py runserver

smrpg_web_randomizer's People

Contributors

amazingampharos avatar atbigelow avatar captaindapper avatar darakian avatar dependabot[bot] avatar dorkmasterflek avatar patcdr avatar smbai-smrpg 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.