https://github.com/atomicptr/phalanx
The backend for authoring Dauntless Builder data
https://github.com/atomicptr/phalanx
dauntless laravel
Last synced: 3 months ago
JSON representation
The backend for authoring Dauntless Builder data
- Host: GitHub
- URL: https://github.com/atomicptr/phalanx
- Owner: atomicptr
- License: agpl-3.0
- Created: 2024-09-05T19:30:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-26T01:40:43.000Z (about 1 year ago)
- Last Synced: 2025-01-31T15:16:54.650Z (about 1 year ago)
- Topics: dauntless, laravel
- Language: PHP
- Homepage:
- Size: 832 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# phalanx
The backend for authoring Dauntless Builder data
## Setup
For our supported setup you'll need [Docker](https://docs.docker.com/engine/install/) and [DDEV](https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/) installed and configured.
```bash
# 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