OverRise is a website that aims to help you read the Bible.
Visit the site here!
Any Suggestions or Feedback, please create an issue or contact me, Thank you!
This repo holds the web frontend of OverRise and was bootstrapped with Create React App.
Look at the server code powering this project here
Clone this repo, then:
yarn
yarn start
Alternatively, use
npm
instead ofyarn
.
In addition to this, you'll need to run overrise-server. The steps required to run it can be found in the repo.
By default, the environment variables on development shouldn't need to be changed. However, you can create .env.local
or any combination found here to override the variables as necessary.
The full list of required variables can be found in .env.production
.
Do not modify the variables in this file as those will be replaced by the production server before serving to user.
Refer to .env.development
to see what kind of variable is expected.
When adding new environment variables, add a new entry to both
.env.production
and.env.development
You can build and push the docker image using the following command:
docker build -t overrise/overrise-web .
docker push overrise/overrise-web
docker build -t overrise/overrise-web . && docker push overrise/overrise-web
Here's a sample docker-compose.yml
file.
version: '2'
services:
...
overrise-web:
image: overrise/overrise-web
container_name: "overrise_web"
restart: always
ports:
- '80:80'
environment:
- REACT_APP_GRAPHQL_ENDPOINT=http://api.overrise.co.uk/api/graphql
- REACT_APP_API_ENDPOINT=http://api.overrise.co.uk/api
- REACT_APP_SENTRY_DSN=
...