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 67f54ef359 Merge branch 'master' of git.learnjsthehardway.com:learn-javascript-the-hard-way/zedshaw.games 8 hours ago
.git-hooks Initial commit after cutting off history. 3 weeks ago
api Fix the display order. 1 day ago
client Better display when there's no description. 8 hours ago
commands Merge branch 'master' of git.learnjsthehardway.com:learn-javascript-the-hard-way/zedshaw.games 8 hours ago
emails Initial commit after cutting off history. 3 weeks ago
lib New the deploy command mostly works, but it's specific to each deployment. 3 weeks ago
media It's easier to put the sample video in media and then have people copy it if they want to use it. 3 weeks ago
migrations First rewriting of the zedshaw.games code using the latest. 3 weeks ago
queues Initial commit after cutting off history. 3 weeks ago
rendered Better display when there's no description. 8 hours ago
scripts Temporarily disable the discord bot until I bring it back in. 3 weeks ago
socket Initial commit after cutting off history. 3 weeks ago
static Remove titles that mention LJS. 2 days ago
tests Initial commit after cutting off history. 3 weeks ago
.eslintrc.json Initial commit after cutting off history. 3 weeks ago
.gitignore Initial commit after cutting off history. 3 weeks ago
.stylelintrc.json Initial commit after cutting off history. 3 weeks ago
README.md Update the README. 3 weeks ago
bando.js Initial commit after cutting off history. 3 weeks ago
bando.ps1 Initial commit after cutting off history. 3 weeks ago
knexfile.cjs Initial commit after cutting off history. 3 weeks ago
nodemon.json Initial commit after cutting off history. 3 weeks ago
package-lock.json Initial commit after cutting off history. 3 weeks ago
package.json First rewriting of the zedshaw.games code using the latest. 3 weeks ago
rollup.config.js Initial commit after cutting off history. 3 weeks 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.