This is a web app to help people find opportunities to get involved in progressive events and organizations near them. It's built in Node+React+Redux+Express+Mongo. Contact Ian if you want to get involved.
You will need to copy example.env
to web-variables.env
:
cp example.env web-variables.env
Now edit web-variables.env
with your API keys and session secret.
- Install Docker and Docker Compose
cd
into the project directory- Build the docker image with
docker-compose build
- Run the app with
docker-compose up -d
- Stop the app with
docker-compose down
Once the webapp is running you can view it at http://localhost:3000
You must run webpack yourself to build a new bundle.js when you change React code. Eg, have this running in its own terminal: NODE_ENV=development webpack -w
.
This will allow you to save a change to React code, and just refresh your browser to see the change. docker-compose's volume
will track the changes without requiring you to rebuild or restart Docker.
(Maybe we'll set up hot reloading in the future...)