Skip to content

An application for running a book reading club for a book published on Leanpub

License

Notifications You must be signed in to change notification settings

Apstol/read-with-the-author

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read with the author

Getting started

To run this project on your machine, you have to install Docker and Docker Compose.

After you have cloned this project to your machine:

  1. cd to the root directory of the project
  2. Run docker-compose pull
  3. Run docker-compose up -d in the root of this project.

Then go to http://localhost in your browser and you should see the homepage.

Go to http://localhost/admin-area/ to visit the Admin area. Here you can log in as user admin with password test.

In the Admin area you'll find a list of (fake) Leanpub invoice IDs, which you can use to sign up on the homepage as a regular user.

This project uses Mailhog to catch outgoing emails. Open http://localhost:8025 to take a look at the emails that were sent by the application.

Troubleshooting

If Docker says something like: "Bind for 0.0.0.0:80 failed: port is already allocated", then you have another service running on your machine that listens to port 80. If you can, shut that service down, or else: modify docker-compose.override.yml and choose a different port for the nginx service, e.g. change the value under ports to - 8000:80.

Removing the project

If you no longer want to have this project installed on your machine, run docker-compose down -v --rmi all. Then you can safely delete the project directory.

About

An application for running a book reading club for a book published on Leanpub

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 81.9%
  • CSS 7.3%
  • Twig 6.9%
  • Gherkin 1.7%
  • Dockerfile 1.0%
  • Shell 0.9%
  • Makefile 0.3%