A tool to suport collaborative systematic reviews
Dependencies are now handled via the monticello configuration: ConfigurationOfReviewnator.
Read here: https://github.com/cientopolis/scolr-docker
To build (or update), evaluate the following expresion:
Metacello new
baseline: 'Scolr';
repository: 'github://cientopolis/scolr';
onConflictUseLoaded;
onWarningLog;
load.
Then, evaluate this expression to prepare it for deployment.
| adminEmail smtpServer smtpPort smtpUsername smtpPassword |
adminEmail := (OSEnvironment current at: 'ADMIN_EMAIL').
smtpUsername := (OSEnvironment current at: 'SMTP_USERNAME' ifAbsent: nil).
smtpPassword := (OSEnvironment current at: 'SMTP_PASSWORD' ifAbsent: nil).
smtpServer := (OSEnvironment current at: 'SMTP_SERVER' ifAbsent: nil).
smtpPort := (OSEnvironment current at: 'SMTP_PORT' ifAbsent: '587') printString.
ReviewnatorDeployer
adminEmail: adminEmail;
smtpServer: smtpServer;
smtpPort: smtpPort;
smtpUsername: smtpUsername;
smtpPassword: smtpPassword;
prepareForDeploymentOnPort: 8080.
WAAdmin defaultDispatcher defaultName: 'scolr'.
Then save your image.
When you open your image again, Reviewnator will be running on: http://localhost:8000/scolr
Checkout the repository to your local machine.
From the command line, using git commands, checkout the branch/revision you want to work with.
Then, add the cloned repository as a an Iceberg local repository.
Algouth this code will work on versions 7 and 8 of Pharo, if you have data you created with Pharo 7 or older you will have issues migrating (Fuel changed its serialization format). We will try to solve this soon.