You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.0 KiB
Markdown
34 lines
1.0 KiB
Markdown
# piazzaoptical.com
|
|
|
|
Code for what once was piazzaoptical.com. Backend and frontend. Unfortunately, I lost the code of the final product; this is the code of a very early stage, and errors abound, as do lack of features.
|
|
|
|
## To use:
|
|
|
|
First clone this repo, and the `bitser` repo that's included as a submodule:
|
|
|
|
```bash
|
|
git clone https://git.sakal.us/brian/piazzaoptical.com
|
|
cd piazzaoptical.com
|
|
git submodule update --init --recursive # for bitser; installed as git submodule
|
|
```
|
|
|
|
Build the podman image based on the Containerfile:
|
|
|
|
```bash
|
|
podman build --tag piazzaoptical.com .
|
|
```
|
|
|
|
Finally, run a container based on this image (I chose to expose the container through port 8004 on the host):
|
|
|
|
```bash
|
|
podman run -it --rm -p 8004:8000 -v ${PWD}:/app localhost/piazzaoptical.com
|
|
```
|
|
|
|
## Explore:
|
|
|
|
Sample credentials:
|
|
|
|
* Username `admin`, Password `admin`
|
|
* Username `guest`, Password `buginoo`
|
|
|
|
One can also not sign-in at all, rather "Apply for an Account", then sign-in as `admin` and accept the application, logout, and sign-in as the new account. |