Skip to content

i-am-b-soto/AIRPACT-Fire-Website

 
 

Repository files navigation

-------------------Getting started---------------------------------

Step 1: SSH into the thing! 
sudo ssh [email protected]
Password: airpact@fire#16

Step 2: run server
cd /home/justin/AIRPACT-Fire-Website

* No Logs *
sudo gunicorn --bind 0.0.0.0:80 AIRPACT_Fire.wsgi:application (in the same directory as manage.py)

* Log to master_log file *
sudo gunicorn --bind 0.0.0.0:80 --log-level debug --log-file master_log AIRPACT_Fire.wsgi:application


--------------------Restarting Server:-------------------------------------- 
- ps -A (Find the proccess with the gunicorn pid)
- sudo kill [pid]
- sudo gunicorn --bind 0.0.0.0:80 AIRPACT_Fire.wsgi:application (in the same directory 	   as manage.py)




---------------------------log_script----------------------------------------
Usage: 

sudo ./log_script [log_file] [url_to_post]

or with nohup (Script doesn't die when server is off)
sudo nohup ./log_script [file] [url] &

Example: 

sudo nohup ./log_script master_log https://hooks.slack.com/services/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 &


Contents: 

airpacfire.eecs.wsu.edu


scp [options] username1@source_host:directory1/filename1 username2@destination_host:directory2/filename2

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 59.7%
  • HTML 32.8%
  • CSS 7.5%