bgg-ottawa-sell-club/NOTES

29 lines
679 B
Plaintext

Root Path
The root path for all requests in the XMLAPI2 are prefixed as follows. These queries can be made on any domain and are interchangeable. Example paths:
https://boardgamegeek.com/xmlapi2/
https://rpggeek.com/xmlapi2/
https://videogamegeek.com/xmlapi2/
## Ansible stuff
create user bggsell
install fnm, nvm for it?
touch ~/.profile
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install v21.6.1
npm install -g pnpm
npm run vite build
nginx configuration
.profile => add DATABASE_URL
// DONE: add apache redirection
PORT=8097 node build/index.js
sqlite3 games.db '.mode json' '.once out.json' 'select * from game'