-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Sean Crowe edited this page Jan 30, 2017
·
8 revisions
Welcome to the tricerashopper wiki!
##Apache
- Stop with
sudo apachectl stop
- Start with
sudo apachectl start
##Solr
- Solr must be running for tricerashopper to function. When the server is restarted, solr may need to be started manually.
sudo service solr [stop|start|restart]
- Ensure it's running by looking for Solr process
ps aux | grep solr
##Postgres Local Postgresql - if error page is displaying instead of homepage, this is likely the cause
- when restarting servers, check if postgres is running
- to start postgres:
sudo systemctl start postgresql
##Updates
- After an update on GH, log in to server as a sudoer
cd /var/www/tricerashopper
- su tricerashopper
- git pull
- If database updates are involved,
RAILS_ENV=production rake db:migrate
- If styles have changed,
RAILS_ENV=production rake assets:precompile
- exit
sudo apachectl stop
sudo apachectl start