akiraheid / supreme-enigma Goto Github PK
View Code? Open in Web Editor NEWThis isn't supreme or an enigma
License: GNU General Public License v3.0
This isn't supreme or an enigma
License: GNU General Public License v3.0
Create a script that will cause the docker website to run on system startup. This is primarily for the webserver in the event of migration or system reboot.
The item (article/idea/project) currently doesn't define a publish/modified date. This kind of information is important to readers to know how up-to-date the information in the item is and how much it's changed.
Server configuration prevents cross-domain loading of resources, so bootstrap CSS does not load.
Display the last commit date and link to the commit itself. Inspired by openFrameworks
Ensure the Docker container is run as a user that doesn't have root abilities on the host system.
This Docker article will probably help.
The white background hurts my eyeballs. Pls use a dark theme.
Add basic server tests to run before a commit to make sure the server won't crash immediately.
Running the image from docker causes the following error
internal/modules/cjs/loader.js:605
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/app/app.js:1:79)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3)
See the MDN site for an example of the icon to use.
The website can only ever deliver 5 articles. Compile the list pages on server start with all items included and keep returning that instead of rendering every time.
Using a make
command, be able to generate the website on a computer and then deploy the site to the server using SSH auth.
Create a Dockerfile
to run the server from.
For simplicity and for AMOLED displays to take advantage of, use pure black background and pure white text. Adjust link colors as necessary (probably a light blue)
Use the <main>
and <article>
tags for accessibility.
Website is a static thing so no need to have a server running 24/7 taking up CPU and memory. Have the reverse proxy handle serving the pages.
Add information and rules about the fairchess app.
Provide the title and the first 420 characters.
#12 renamed article files, so now it's impossible to get the last x published and the server crashes. The server now needs to build a list of publish history via git commands to get the first published date of the file.
Currently the server fails with this error:
Thu, 27 Dec 2018 02:02:36 GMT body-parser deprecated undefined extended: provide extended option at app.js:5:17
/supreme-enigma/js/common.js:21
const aInt = aMatches.length == 1 ? parseInt(aMatches[0], 10)
^
TypeError: Cannot read property 'length' of null
The rm -r *
command in make deploy
is called after public.tgz has been transferred over, so unpacking public.tgz fails.
Advertise the site's code somehow while being unobtrusive.
Minify CSS to send to clients when the server starts
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.