ALISS (A Local Information System for Scotland) is a service to help you find help and support close to you when you need it most.
Embed ALISS search features on your own site with the aliss.js plugin.
requirements.txt
for pip packagespackage.json
for node packagespip3 install -r requirements.txt
.npm i
.gulp
to compile assetspython3 manage.py migrate
To run the ALISS project it is necessary to setup the environment on your machine and import data. NB if you are using heroku / heroku toolbelt you may need to preface these commands with heroku local:run
e.g. heroku local:run python3 manage.py shell
.
.env
this will store necessary environment variables..env.example
copy the contents and customise with the relevant information for your environment.systemctl start elasticsearch.service
python3 manage.py loaddata aliss/data/postcodes/postcodes.json.zip
.python3 manage.py extract_geodata
.python3 manage.py createsuperuser
inputting an email address and password as per the prompts.Command | Description | Further Information |
---|---|---|
heroku local -i Procfile.dev |
Start the local server for running the app at localhost:5000 in your browser. | https://docs.djangoproject.com/en/1.11/ref/django-admin/#runserver |
heroku local:run python3 manage.py test |
Run the automated tests | https://docs.djangoproject.com/en/1.11/topics/testing/ |
heroku local:run python3 manage.py shell |
Run the Django shell | https://docs.djangoproject.com/en/1.11/ref/django-admin/#shell |
Regarding boundaries and service areas see https://www.opendata.nhs.scot/dataset/geography-codes-and-labels