A project is just a directory. Postchi reads and writes plain files, so you can open any folder as a project, commit it to version control, and work with it in your editor alongside your code.
When you first launch postchi a temporary project is created, if you have made work in this project make sure to save it using the menu option or it will get lost.
Project structure
The most basic project structure looks like this:
secrets.cenv is intentionally separate from environments.cenv so you can commit your environments file to version control without exposing credentials. See Environments for details.
Creating a project
Open the project picker
Launch Postchi and click New Project from the File menu.
Choose a location
Give your project a name and select an empty folder. Postchi creates the folder if it does not exist.
Start working
Postchi opens the project and creates the required directories, along with a blank environments.cenv and secrets.cenv files.
Opening an existing project
When opening a project Postchi will work with whatever files are already there and create any missing ones if needed.
Open the project picker
Click Open Project from the File menu.
Select the folder
Navigate to the directory and confirm. Postchi opens it as a project immediately.
Add secrets.cenv to .gitignore and commit everything else.