pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/spectraphilic/wsn_server

nk crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b48faa60c69660fa.css" /> GitHub - spectraphilic/wsn_server: Software and django applications for wsn and iot setup · GitHub
Skip to content

spectraphilic/wsn_server

Repository files navigation

Build Status

wsn_server

Software and django applications for wsn and iot setup.

For instructions on how to install the project in a server, see the INSTALL.md file.

Local install for development

Install the system wide requirements:

apt install git make postgresql python3-venv rabbitmq-server
apt install ansible

Create the PostgreSQL database:

su - postgres
postgres@ $ createuser -e -P wsn
postgres@ $ createdb -e -O wsn wsn

Clone the project and install:

git clone https://github.com/spectraphilic/wsn_server.git
cd wsn_server
make local

Create a superuser, and run the server:

source venv39/bin/activate
python manage.py createsuperuser
make start

Update a server deployment

If you have deployed the project in a server, see INSTALL.md, then you can update it remotely from your local instance.

Edit the ansible/hosts-production file, you will need to specify the hostname or ip address of the server, the user to log with, and the absolute path where the project is deployed. For example:

[hosts]
wsn.example.com ansible_ssh_user=wsn django_root=/home/wsn/wsn_server

For the deployment to work add your public ssh key to the list of authorized keys in the server, so this should just work:

ssh wsn@wsn.example.com

Then to update the server just type:

make deploy-production

This will automatically reload the program. But won't reload Nginx/Monit.

About

Software and django applications for wsn and iot setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy