Initial project push.
This commit is contained in:
2
scripts/create-account.sh
Normal file
2
scripts/create-account.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
openssl rand -hex 16
|
||||
6
scripts/db-setup.sh
Executable file
6
scripts/db-setup.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Truncate the existing database.
|
||||
rm database/origo.db
|
||||
# Import the schema for the new database.
|
||||
sqlite3 database/origo.db < database/schema.sql
|
||||
2
scripts/rebuild.sh
Executable file
2
scripts/rebuild.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker build -t origo .
|
||||
2
scripts/start.sh
Executable file
2
scripts/start.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker run --rm -p 8000:8000 -v $(pwd):/app origo php -S 0.0.0.0:8000
|
||||
3
scripts/theme.sh
Normal file
3
scripts/theme.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd theme
|
||||
sass style.scss style.css
|
||||
Reference in New Issue
Block a user