Git Product home page Git Product logo

vgws's Introduction

HERE BE DRAGONS

WARNING: This is one of the shittiest, most hurried projects I have ever done, and with a minimum of QC. This code is old, and has bugs, undiscovered vulnerabilities, and unfinished features up the wazoo.

This code is currently completely broken due to abandoned libraries. I am fixing it.

We're (eventually) moving to webpack and Symfony, too.

/vg/station Web Services

Oh god why did I ever code this:trade:

This runs the public /vg/station website. It is ancient shitcode.

Installing

Please don't.

You will need

  • A soul to donate to Satan
  • A development PC
  • A server to deploy to
  • Python >= 3.8 (On your desktop)
  • PHP >= 8.0 (On BOTH machines)
  • composer (on BOTH machines)
  • Node.js and yarn (On your desktop)
  • rsync (desktop)
  • ssh (desktop)
  • An account that can:
    • read and write to the deployment directory
    • can run composer as the webserver without imploding
    • Can chown and chmod deployment directory stuff
    • You know which one.
# ===> ON YOUR PERSONAL PC <===

# Python dependencies
pip install -U poetry

# Clone to ./VGWS
git clone https://github.com/N3X15/vgws.git VGWS

# PHP configuration (replace $EDITOR with code, notepad++, vim, nano, etc)
cp config.php.dist config.php
$EDITOR config.php

# Build/deployment configuration
cp buildconf.example.yml buildconf.yml
$EDITOR buildconf.yml

# Install build dependencies
poetry install --no-root

# Run build
python3 devtools/build.py

# If build succeeded, you can run this shit to deploy to the server.
#RSYNC WILL DELETE FILES THAT IT DOESN'T RECOGNIZE IN
# classes/, templates/, style/, $PUBLIC_DIR/css, $PUBLIC_DIR/fonts, $PUBLIC_DIR/img, $PUBLIC_DIR/js.
#BACK UP YOUR SHIT.
python3 devtools/build.py --deploy

vgws's People

Contributors

n3x15 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.