Giter Site home page Giter Site logo

wsite's Introduction

Wsite

This is the online source repository of Wsite, a lightweight and fully-customizable web server and service with a Java-powered backend.

Important disclaimer

In its current state, Wsite is only meant for testing and development-purposes only. Not recommended to use in production. That being said, a demo of it is being ran at http://whizvox.me

How to run

Requirements

The following must be installed:

If you are having any problems building or running, use Java 8, not Java 9+.

Optional:

Creating an executable Jar

Run ./gradlew shadowJar. The result will be in ./build/libs/wsite-<version>.jar

Run with Gradle

Run ./gradlew run. The service will use ./rundir as the working directory.

Quick-start guide

  • First running will result in a small setup service being hosted at localhost:4568/
  • Fill in (at minimum) the fields under Initial operator (the SSL and SMTP fields don't do anything right now)
  • Submit the form, and the server will restart with the standard routes
  • Login at /login (logout at /logout)
  • Every route prefixed with /control will require an operator to be logged in.
  • Goto /control to view all available control options

wsite's People

Contributors

whizvox avatar

Watchers

 avatar  avatar

wsite's Issues

NoSuchMethodError running on Java 8

Version: 1.2.0-alpha-6

Attempting to create a new login entry will not be successful, as a strange error is thrown instead. Something along the lines of

NoSuchMethodException: CharBuffer#rewind() at ApiRoutes.java:568

This apparently happens because Java 9+ changes the return types of many Buffer methods, and I think I created a shadow Jar using Java 11 instead of Java 8. Whoops. In any case, there should be an easy fix that I'll take care of later. For now, just use Java 9+.

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.