The code for the zedshaw.games demo site for learnjsthehardway.com.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Zed A. Shaw 75c5ad9a70 Video wasn't playing because I told it to not autoplay. 3 months ago
.git-hooks Initial commit after cutting off history. 4 months ago
api Only give out thigns with titles. 3 months ago
client Use a player card instead of summary. 3 months ago
commands Using a plain old template generator to make the webtorrent player files so they're as small and simple as possible. 3 months ago
emails Initial commit after cutting off history. 4 months ago
lib New the deploy command mostly works, but it's specific to each deployment. 4 months ago
media It's easier to put the sample video in media and then have people copy it if they want to use it. 4 months ago
migrations First rewriting of the zedshaw.games code using the latest. 4 months ago
queues Initial commit after cutting off history. 4 months ago
rendered Video wasn't playing because I told it to not autoplay. 3 months ago
scripts Temporarily disable the discord bot until I bring it back in. 4 months ago
socket Initial commit after cutting off history. 4 months ago
static Remove titles that mention LJS. 3 months ago
tests Initial commit after cutting off history. 4 months ago
.eslintrc.json Initial commit after cutting off history. 4 months ago
.gitignore Initial commit after cutting off history. 4 months ago
.stylelintrc.json Initial commit after cutting off history. 4 months ago
README.md Update the README. 4 months ago
bando.js Initial commit after cutting off history. 4 months ago
bando.ps1 Initial commit after cutting off history. 4 months ago
knexfile.cjs Initial commit after cutting off history. 4 months ago
nodemon.json Initial commit after cutting off history. 4 months ago
package-lock.json Initial commit after cutting off history. 4 months ago
package.json First rewriting of the zedshaw.games code using the latest. 4 months ago
rollup.config.js Initial commit after cutting off history. 4 months ago

README.md

Getting Started

Quick notes on how to get this code running.

git clone --depth 1 git@git.learnjsthehardway.com:zedshaw/ljsthw-project-template.git myproject
cd myproject
npm install

If you have problems with browsers use:

PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install
./bando.js init

On windows you run the bando.ps1 script instead, using just bando:

`` ./bando init


Note: Sometimes this fails if you have redis running already.  You have to manually delete redis and start it again:

ONLY IF REDIS FAILS

npx pm2 delete redis ./bando.js init # WIN: ./bando init


In another window:

npm run DANGER_ADMIN


When it's ready, hit enter in the bando.  This will load a page where you can register a user, and once you've done that, it'll tell you to hit enter again in the bando window.

After you do that it'll make your user an admin, so go back to the browser and hit the button.  Then, you'll be ready.