Sometimes it will be easier and more useful to create project directories and compile that project's specific data without using the engineering api's like AlphaFlood for projects that will not need floodway, floodzone, and wetland engineering. The python packages in AlphApexManager are essentially the same code and methods that handle all the mundane, but extremely necessary directory, file, saving, syncing, and organization of all the project data in the more robust engineering programs in the AlphApex repository, the difference being the user now has more functionality and control over the local management aspects and can easily customize project directories, files, templates, data research, and deliverables to each unique project's needs.
To complete this tutorial, you will need:
Now that you have Git downloaded and ready to use, we can get ready to clone all the python packages we need. Since these are technicality python packages and not standalone programs, we can open up a terminal in VS Code and set the working directory to the current user's location to keep things as simple as possible.
You should be able to open up VS Code easily by hitting the windows button on your keyboard, typing "vs" only and hitting 'Enter'. Followed with using the windows shortcut " CTRL + ` " (control button + backtick) to make sure a terminal is open and you can change the current working directory to the user's location if it is not already there. copy and paste the cell below into your terminal and press Enter:
cd ~ git clone https://github.com/johnnybalright/AlphApexManager.git cd .\AlphApexManager\alpha_manager
You'll see the following output:
Now we can start to use directory_manager.py to manage and generate templates.
The alpha manager package can be used in one of two ways: 1. an interactive program at the command line 2. a python script executed at command line with the correct arguments.
To use it as an interactive program, run the python file with no arguments.
python directory_manager.py
Use the prompts to navigate the different functions of the program.
Another introduction
python directory_manager.py --generate --output ~/Desktop --project_name Smith --project_number 24999
This is what the newly generated directory should look like.