SafetyNet Terminal Commands

Login

#JR Login

ssh -v -o "IdentitiesOnly=yes" -i ~/.ssh/id_rsa_3m -p 30000 [email protected]

#Andrew Dawson Login

ssh  ~/.ssh/id_ed25519.pub -p 30000 [email protected]

#passphrase: FallProCalgary

#Password for www: P@d@wan!

 

#Compile ( for language changes)

#Cd to root directory of staging

cd project_files/fallprogroup_com_staging/

 

#Run Command from inside root folder of staging

cd project_files/fallprogroup_com_staging/

# turn on virtual env

env_activate

 

#The run python command That’s two dashes (-) in front of locale.

python manage.py compilemessages --locale=fr

#reload the server

a2reload

 

Apache

#Restart Apache Command

sudo service apache2 restart

File locations

Home page files are found

default_app/templates/landing.html

 

French Translations

/locale/fr/lc_messages/django.po

Note: home page banners around line 5185

 

if needed pw for www: P@d@wan!

SSL

#SSL Files are located

/etc/apache2/ssl

#There are two directories (fallprogroup.com and livestage.fallprogroup.com) SSL files need to copied into both directories
 #see the Job Aid on Updating SSL files for FallProGroup.com