User:Alex Doll: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "==Alex's to-do lists== Stuff that Alex needs to no forget. ===Setting up a new project=== # Create a new database & dbuser. # Create a new folder in circuitmodels/. # Copy th..." |
|||
| (27 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==Alex's to-do lists== |
==Alex's to-do lists== |
||
Stuff that Alex needs to |
Stuff that Alex needs to not forget. |
||
===Setting up a new project=== |
===Setting up a new project=== |
||
# Click the Administration button |
|||
# Create a new database & dbuser. |
|||
# Create a new |
# Create a new Client |
||
## Assign the new administrator |
|||
# Copy the base PHP files into the new folder. |
|||
| ⚫ | |||
# Tweak the configuration file to point to the new database. |
|||
## Check that indexing of table index fields is active |
|||
| ⚫ | |||
# Switch to the new Client and check that the database is populated correctly |
|||
<pre> |
|||
# Email the new administrator with credentials and URL. |
|||
PREPARE populate FROM 'CREATE TABLE `sagmilli_?`.`?` SELECT * FROM `sagmilli_agd`.`?` ?;' |
|||
SET @db = 'Example'; |
|||
SET @where=''; |
|||
SET @table= 'labs'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'mills_classes'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'project'; |
|||
SET @where=' WHERE `id`=1'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'ai'; |
|||
SET @where=' WHERE `ProjNum`=1'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'dwt'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'geotech'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'litho'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'pli'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'project__circuits'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'spi'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'ucs'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'wibm'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'wirm'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'wic'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
SET @table= 'mills'; |
|||
SET @where= 'WHERE `ProjNum`=0 OR `ProjNum`=1'; |
|||
EXECUTE populate USING @db, @table, @table, @where; |
|||
===Test suite before deploying new code=== |
|||
DEALLOCATE PREPARE populate; |
|||
On the development server |
|||
</pre> |
|||
# create a new project |
|||
## add a member to this new project |
|||
# create a new test result |
|||
## Add the 3 work index values |
|||
## check these appear in the Testwork Summary listing |
|||
## check these appear in the testwork comparison charts |
|||
# delete a test result. delete a whole sample. |
|||
# create a new optimized Bond SABC circuit |
|||
## create new mill for the new circuit from templates or from blanks |
|||
## check tent diagram |
|||
## change to raw Bond circuit |
|||
# create a new SSBM circuit |
|||
## create new mill for the new circuit from templates or from blanks |
|||
# create a new SSSAG circuit |
|||
## create new mill for the new circuit from templates or from blanks |
|||
# create a new template mill for a SAG mill, a pebble crusher and a ball mill. |
|||
Compare the '''Example''' project on development server versus main server |
|||
# View model output table of a circuit |
|||
## Pull up some summary charts |
|||
## Check some SAG-limited samples |
|||
## Check some ball-limited samples |
|||
## Run the PDF report, confirm percentile samples against the HTML list. |
|||
# Check the result table totals are the same |
|||
# Edit a SAG mill; change the model on a SAG mill |
|||
## check a tent diagram |
|||
## change speed or filling on tent diagram |
|||
# Edit a ball mill; change the model on a ball mill |
|||
## check a tent diagram |
|||
## change speed or filling on tent diagram |
|||
# Manually override the test results and the F80, P80 sizes (use the data entry fields on the flowsheet page) |
|||
# Edit a crusher |
|||
Latest revision as of 13:19, 17 May 2026
Alex's to-do lists
Stuff that Alex needs to not forget.
Setting up a new project
- Click the Administration button
- Create a new Client
- Assign the new administrator
- The database structure, including default data, will populate.
- Check that indexing of table index fields is active
- Switch to the new Client and check that the database is populated correctly
- Email the new administrator with credentials and URL.
Test suite before deploying new code
On the development server
- create a new project
- add a member to this new project
- create a new test result
- Add the 3 work index values
- check these appear in the Testwork Summary listing
- check these appear in the testwork comparison charts
- delete a test result. delete a whole sample.
- create a new optimized Bond SABC circuit
- create new mill for the new circuit from templates or from blanks
- check tent diagram
- change to raw Bond circuit
- create a new SSBM circuit
- create new mill for the new circuit from templates or from blanks
- create a new SSSAG circuit
- create new mill for the new circuit from templates or from blanks
- create a new template mill for a SAG mill, a pebble crusher and a ball mill.
Compare the Example project on development server versus main server
- View model output table of a circuit
- Pull up some summary charts
- Check some SAG-limited samples
- Check some ball-limited samples
- Run the PDF report, confirm percentile samples against the HTML list.
- Check the result table totals are the same
- Edit a SAG mill; change the model on a SAG mill
- check a tent diagram
- change speed or filling on tent diagram
- Edit a ball mill; change the model on a ball mill
- check a tent diagram
- change speed or filling on tent diagram
- Manually override the test results and the F80, P80 sizes (use the data entry fields on the flowsheet page)
- Edit a crusher