From 57042892c4ffa22fad2a485617332313c0c32f62 Mon Sep 17 00:00:00 2001 From: Huskydog9988 <39809509+Huskydog9988@users.noreply.github.com> Date: Sun, 23 Mar 2025 21:08:08 -0400 Subject: [PATCH] move register to auth path --- README.md | 8 +++++--- pages/{ => auth}/register.vue | 0 2 files changed, 5 insertions(+), 3 deletions(-) rename pages/{ => auth}/register.vue (100%) diff --git a/README.md b/README.md index d23a0e2..55bedac 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,18 @@ To just deploy Drop, we've set up a simple docker compose file in deploy-templat 3. Edit the compose.yml file (`nano compose.yml`) and copy your GiamtBomb API Key into the GIANT_BOMB_API_KEY environment variable 4. Run `docker compose up -d` -Your drop server should now be running. To register the admin user, navigate to http://your.drop.server.ip:3000/register?id=admin +Your drop server should now be running. To register the admin user, navigate to http://your.drop.server.ip:3000/register?id=admin and fill in the required forms ### Adding a game + To add a game to the drop library, do as follows: + 1. Ensure that the current user owns the library folder with `sudo chown -R $(id -u $(whoami)) library` 2. `cd library` 3. `mkdir ` with the name of the game which you would like to register 4. `cd ` -5. `mkdir ` Upload files for the specific game version to this folder +5. `mkdir ` Upload files for the specific game version to this folder 6. Navigate to http://your.drop.server.ip:3000/ 7. Import game metadata (uses GiantBomb API Key) by selecting the game and specifying which entry to import 8. Navigate to http://your.drop.server.ip:3000/admin/library @@ -73,7 +75,7 @@ Steps: As part of the first-time bootstrap, Drop creates an invitation with the fixed id of 'admin'. So, to create an admin account, go to: -http://localhost:3000/register?id=admin +http://localhost:3000/auth/register?id=admin ## Contributing diff --git a/pages/register.vue b/pages/auth/register.vue similarity index 100% rename from pages/register.vue rename to pages/auth/register.vue