The FireCARES application
A quick way to get started is with Vagrant and VirtualBox.
git clone https://github.com/FireCARES/firecares.git
git clone https://github.com/FireCARES/firecares-ansible.git
cd firecares-ansible
vagrant up
Wait a few minutes for the magic to happen. Access the app by going to this URL: http://192.168.33.15
When you install FireCARES using Vagrant, the default configuration will restart the Gunicorn process on every request so your server-side modifications should immediately show up.
For client-side changes, you currently need to manually run the collectstatic
in order to update the static assets. You
can run collect static from the firecares-ansible
directory on the host machine using the following command:
ansible-playbook vagrant.yml -i vagrant_server --tags django.collectstatic
This project uses LESS CSS pre-processor to generate CSS rules. To make a modification to a CSS rule, follow these steps:
- Make the modification in the appropriate LESS file. For example: style.less
- Use the
lessc
command to compile the CSS from LESS and pipe the output to the appropriate locationlessc style.less > ../css/style.css
.