Skip to content

Latest commit

 

History

History

docs

types of ants

it's the types of ants. see www.typesofants.org.

Development

To learn about the architecture and how everything works, see the developer guide documents here.

Production

Start the production database

  1. Log onto the host running the database, likely antworker000.
  2. Run cd ~/types-of-ants/projects/ant-data-farm and docker-compose up -d ant-data-farm to run the database.
  3. Make sure it succeeds.

Start tweeting

  1. Log onto the host running the tweet job, I think it's antworker000.hosts.typesofants.org with ssh2ant 000.
  2. Make sure the database is up.
  3. Run cd ~/types-of-ants/projects/ant-who-tweets and run nohup cargo run & disown to start the tweet job.

Start the host management webserver

  1. Log onto the host ssh2ant <hostnum>
  2. Run cd ~/types-of-ants/projects/ant-host-agent
  3. Make sure there is a .env with HOST_AGENT_PORT defined to a port number, likely 4499.
  4. Run the program with nohup cargo run & disown to make sure it does not get killed when you exit.