Skip to content
πŸ‘—The Lolita Fashion Library πŸ‘’
Branch: master
Clone or download
ameliaikeda Merge pull request #25 from noogn/master
Added minor SEO improvements and titles to some pages
Latest commit bbf1eb2 Mar 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
app
brand go: start adding a database to the repo Feb 23, 2019
cmd
currency go: make a start on adding microservices to deploy to the cluster Feb 14, 2019
image go: start adding a database to the repo Feb 23, 2019
item go: start adding a database to the repo Feb 23, 2019
models go: start adding a database to the repo Feb 23, 2019
pkg go: start adding a database to the repo Feb 23, 2019
pki
scripts tests: fix image tests (finally) Mar 19, 2019
sql Restructure the app to allow monorepo May 26, 2018
vendor
.dockerignore Rename next to frontend Jun 11, 2018
.env.example Move docker-compose into a more microservices-focussed format Jul 21, 2018
.gitignore
CODE_OF_CONDUCT.md
LICENSE.txt
Makefile
docker-compose.test.yml
docker-compose.yml vendor: remove imaginary and update composer Feb 13, 2019
go.mod go: start adding a database to the repo Feb 23, 2019
go.sum go: start adding a database to the repo Feb 23, 2019
readme.md Replace test.sh with a makefile Jun 11, 2018
schema.graphql go: start adding a database to the repo Feb 23, 2019
setup.sh Fix setup commands so they match up with compose file Oct 2, 2018

readme.md

Lolibrary

Lolibrary is a lolita fashion archive website. This repository is a monorepo containing code for what will eventually be all of Lolibrary.

Getting Started

To get started, you'll need to install Docker. This should be your only real requirement to run Lolibrary's code.

πŸ’» On macOS, install Homebrew before you run bash setup.sh.

To get started, run bash setup.sh; you may be prompted for your password.

⚠️ Windows does not currently work with setup.sh; you'll need to run commands manually.

Copy .env.example to .env if it hasn't been done already; this is your entire config and sets environment variables. The default is enough to get started.

General running

To run all code/containers, you'll need to run the following. This is your "normal" command to run to start Lolibrary running. This will start everything in the background; to start in the foreground just omit -d. To see logs, run docker-compose logs in the same directory as docker-compose.yml.

docker-compose up -d

Setup will have already ran this.

This will start the postgres/redis containers, spin up your web container to serve the application, run the queue workers, and build the frontend assets.

After making changes, your queue workers won't automatically restart. To do this, issue the following command:

docker-compose exec app php artisan horizon:terminate

docker-compose will automatically restart the container that was running queue workers.

HTTPS certificate

Lolibrary in dev should be running on HTTPS, as that assumption is made everywhere. There is a self-signed certificate in the pki folder of this repository; you should trust this certificate on your development machine.

See the pki folder in this directory for more information; setup.sh will automatically add this certificate.

Hostnames

Add a dns resolver such as dnsmasq to resolve all .test domains to localhost. This will be needed! (setup.sh, again, does this automatically on Mac).

On windows, you can get away with just adding lolibrary.test to your hosts file pointing to 127.0.0.1

Security Vulnerabilities

If you discover a security vulnerability within this repo, email amelia@lolibrary.org. All security vulnerabilities will be promptly addressed.

License

Lolibrary's code is licenced under the BSD Licence.

You may not use any of Lolibrary Inc's logos or trademarks without prior written permission.

Lolibrary Inc is a 501(c)(3) non-profit incorporated in the USA.

You can’t perform that action at this time.