Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Latest commit

 

History

History
46 lines (31 loc) · 1.19 KB

File metadata and controls

46 lines (31 loc) · 1.19 KB

phalanx

The backend for authoring Dauntless Builder data

Setup

For our supported setup you'll need Docker and DDEV installed and configured.

# clone the project
$ git clone https://github.com/atomicptr/phalanx.git
$ cd phalanx

# starts the project
$ ddev start

# create secret
$ ddev artisan key:generate

# next we are setting up the DB...

# (OPTIONAL) if you have a dump (ask or remind me to offer a dump somewhere) you can do this:
$ ddev import-db < my-dump.sql

# Otherwise, lets create a new DB...
$ ddev artisan migrate

# we also need to create a user (this command spawns a PHP REPL)
$ ddev artisan tinker
#     $user = new \App\Models\User;
#     $user->email = "your@email.com";
#     $user->password = Hash::make("your-password");
#     $user->save();
#     exit();

# run the build process (perhaps in a different shell...)
$ ddev watch

Phalanx should now be available at https://phalanx.ddev.site (the HTTPS certificate might be invalid if you haven't setup mkcert properly)

If you created a new database, don't forget to first setup a Patch.

License

AGPLv3