Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== NervHome: Initial project setup ====== * As usual, we start with creating an empty project on gitlab, which we will call "nervhome" (even if I believe I probably already have that name used somewhere in my archives 🤔, but never mind): **Done** * Now I add that project into the nervproj config file: <sxh javascript; highlight: []>"projects": [ // ... more stuff here ... { "names": ["NervHome", "nvh"], "repository_url": "ssh://git@gitlab.nervtech.org:22002/nerv/nervhome.git" } ]</sxh> * And now checking out the project locally: <sxh bash; highlight: []>$ nvp -p nvh git clone D:/Projects/NervHome</sxh> * And initializing that project: <sxh bash; highlight: []>$ nvp -p nvh admin init</sxh> * **Cool!** This actually worked just fine! :-) * The init command above will also create a template for the **nvp_plug.py** file where we should define the entrypoint for our project. ===== Navision Time generator ===== * First utility that I need to incorporate in this project is the navision time generator tool: I use this to generate default "navision" (a custom time monitoring tool used in my current job) .csv file. * So I will take the existing project from my giant "NervSeed" repository and convert it into a "component" here, and then I expect to be able to call it with a simple command line such as: <sxh bash; highlight: []>$ nvp navi gen [idx]</sxh> * **Note**: in the command above ''idx'' should be a relative month index compared to the current month * Hmmm... 🤔 actually... thinking about it maybe it's time for an upgrade here too: since I need to provide full weeks when reporting work time now: this tool should thus rather append weeks to a target csv file... let's see... * => **OK** so just using the command above but without a month index now. instead we can generate a "number of weeks" and by defautl going to the end of the year. * And a new full year entry file can be created with the command ''nvp navi gen --year 2023'' for instance. public/projects/nervhome/notes/0001_nervhome_initial_setup.txt Last modified: 2022/04/04 11:51by 127.0.0.1