Crowd Checked Backend
Crowd Checked is a site where users can leave embedded comments within articles. Users can highlight sections within articles and leave a comment. Other users will then see that highlighted section and can view the comment and reply.
Clone the repo.
Duplicate the env file template and fill in the missing values at the bottom
cp .development.env .env
Create the docker network
$ docker network create nginx-proxy
Build and run the docker containers
$ docker-compose build $ docker-compose up
In a separate terminal create the database
$ docker-compose exec --user "$(id -u):$(id -g)" website rails db:reset $ docker-compose exec --user "$(id -u):$(id -g)" website rails db:migrate
Visit the site at localhost:3002. Depending on your docker setup, you might have to find the IP address of the docker machine instead.