Introduction Installation Projects Tables Inserts Searches Updates Deletes Production Installation Conclusion

Production Installation - Flaarum Tutorials

If you have a project that you've not launched an instance in before. Enable compute api with this command gcloud services enable compute.googleapis.com --project {project}. Remember to replace the project with you project name.

Basic Deployment (Google Cloud)

  1. Create a launch file with flaarum.lgcp initb and edit it to your specifications
  2. Create a service account and store the downloaded json in your flaarum folder (gotten from flaarum.cli pwd)
  3. Launch the service with flaarum.lgcp lb launchfile serviceaccountfile where launchfile is the name of the file created in step 1 excluding the path and serviceaccountfile is the json in step 2 excluding the path.
  4. SSH into the server and run flaarum.prod r to get your key string. Needed in your program to connect to your flaarum server.

Autoscaling Deployment (Google Cloud)

Note that the autoscaling deployment would launch two servers. One control and the data server. You are to connect to the data server.

  1. Create a launch file with flaarum.lgcp initas and edit it to your specifications
  2. Create a service account and store the downloaded json in your flaarum folder (gotten from flaarum.cli pwd)
  3. Launch the service with flaarum.lgcp las launchfile serviceaccountfile where launchfile is the name of the file created in step 1 excluding the path and serviceaccountfile is the json in step 2 excluding the path.
  4. SSH into the server and run flaarum.prod r to get your key string. Needed in your program to connect to your flaarum server.
< Previous Next >