Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damianmoore/xr-brighton-website
Website for the regional Brighton, UK group of Extinction Rebellion
https://github.com/damianmoore/xr-brighton-website
Last synced: 26 days ago
JSON representation
Website for the regional Brighton, UK group of Extinction Rebellion
- Host: GitHub
- URL: https://github.com/damianmoore/xr-brighton-website
- Owner: damianmoore
- Created: 2019-06-03T21:23:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-03T17:48:10.000Z (over 3 years ago)
- Last Synced: 2023-03-24T03:00:33.183Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://xrbrighton.earth/
- Size: 754 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Brighton Extinction Rebellion Website
[![](https://img.shields.io/github/commit-activity/y/damianmoore/xr-brighton-website.svg)](https://github.com/damianmoore/xr-brighton-website) [![](https://img.shields.io/github/issues-raw/damianmoore/xr-brighton-website.svg)](https://github.com/damianmoore/xr-brighton-website/issues) [![](https://img.shields.io/docker/cloud/build/damianmoore/xr-brighton-website.svg)](https://cloud.docker.com/repository/docker/damianmoore/xr-brighton-website)
This is the code repository for the Brighton Extinction Rebellion website. You can re-use this code if you are setting up a site for your local Extinction Rebellion group. All of our work is free to use non-commercially in the full spirit of DIY. Do not use the work for commercial purposes, however well meaning, without prior consent from the originators. The Extinction Symbol was designed prior to Extinction Rebellion. Using the symbol on commercial merchandise is strictly forbidden. For more information visit www.extinctionsymbol.info .
The site is based on the Django framework and Django CMS. Docker is used for easy development and deployment. If you have [Docker Compose](https://docs.docker.com/compose/install/#install-compose) installed then you should be able to get started very quickly with the following commands.
git clone https://github.com/damianmoore/xr-brighton-website.git
cd xr-brighton-website
make build
make startYou should now be able to access the site in your browser at http://localhost:8000/
## Creating an admin account
To make admin edits to your dev site you will need to create an account. While the containers are running via the previous command, in a new terminal run the following:
make shell
python manage.py createsuperuserYou should now be able to login as an admin at http://localhost:8000/admin/
## Resizing photos for uploading
To avoid filling up disk space on the server and making thumbnailing slow, please resize your photos on your local machine before uploading with the following:
mogrify -resize 1920x1920 -quality 60 *.jpg