Changes between Initial Version and Version 1 of cs222p-2020-winter-project1-create-project


Ignore:
Timestamp:
Jan 7, 2020, 9:43:30 AM (6 years ago)
Author:
yicongh1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • cs222p-2020-winter-project1-create-project

    v1 v1  
     1{{{
     2#!div style="background-color:#d9effa"
     3
     4= Deploy the codebase =
     5
     6== If you are developing in CLion ==
     7
     8 1. Select "Check out from Version Control", and then select "git"
     9[[Image(wiki:cs222p-2020-winter-project1-create-project:checkout.png, 600px)]]
     10 2. Copy paste your Github repo address
     11[[Image(wiki:cs222p-2020-winter-project1-create-project:clone-repo.png, 600px)]]
     12
     13 3. Clone the repo and open it with CLion, your workspace should be configured automatically. Your directory should look like this:
     14[[Image(wiki:cs222p-2020-winter-project1-create-project:project1-directory.png, 600px)]]
     15
     16 4. On the top right, you may select to run executables. They are configured with the CMakeLists.txt. There are total 13 tests, 2 libraries (PFM, RBFM), and 1 script (clean-all). Select one test and run it.
     17[[Image(wiki:cs222p-2020-winter-project1-create-project:executables.png, 600px)]]
     18 
     19  After you confirm that all test cases work properly, you can use the command-line tool to compile and test your code. In the end, the assistants will use the automated test script to test your code.
     20 
     21== If you are not using CLion ==
     22
     23  You can still use `make` to do it . just navigate to `rbf` folder and do `make clean` and `make`, will build your executables. Detailed instructions are followed:
     24
     25
     26  1. Read the readme.txt [[BR]]
     27
     28  2. Go to the codebase, and modify the CODEROOT in makefile.inc properly (you may skip it initially, but only modify it when the rest steps do not work). [[BR]]
     29
     30  3. Go to folder "rbf", and type in:
     31
     32  4. make clean[[BR]]
     33
     34  5. make[[BR]]
     35
     36  6. ./rbftest1[[BR]]
     37
     38}}}
     39
     40  You will be able to see the output.