-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need some deployment instructions #74
Comments
Thanks for your willingness to accommodate our needs. Here are three ideas to improve the deployment of the app and generalized it for use beyond ODM purposes.
Supporting these three suggestions along with the new technology updates should make the app useful to broader applications and probably to federal agencies like USGS. The intent here is to make the app usable for non-IT folks like myself. Let me know if you have questions. |
Hello! I'm going to start working on these changes as soon as I can. Thank you so much @amabdallah for providing a guide on how you made this work with Ansible and Docker, we absolutely need this to make the webpage more easily deployable and accessible for other people. So far this application is deployed manually by installing a virtual environment, pulling the source code from git, and setting up the web server configuration. Those new commands you suggest are very easy to adapt to the new system and even more so to make it work for every implementation without asking users (who are deploying the system) to change anything. It would be great if you can review these when I'm done, so let me know if this is something you would be willing to do and I'll tag you in the pull request as a reviewer. Also, I would like to invite you to look at the version-update branch where I've been working on the updates, since I did some work along the lines of what you mention about generalizing the app structure. I've modified it so that to make a new implementation, you just need to add a name and a description of each Vocabulary in a python dictionary, along with other optional fields to customize many aspects of the vocabulary. The point is to make it as easy as possible to anyone to implement their own CV system without having to write, but with the option to do so, any models, views, templates, or API endpoints. This was the original idea when we started working on this project, but with my knowledge of Django 6 years I couldn't abstract as much as I would've liked to. With this update, the only file that needs to change to create a new implementation is I think it would be good to talk and share ideas about how to abstract the implementation even more at some point in time, so we could setup a Zoom call to go over the details of how the app changed with this new update and how to make it more accessible and easy to deploy in the future. Let me know if you have any questions or suggestions! |
Sounds great! Thanks, @jcaraballo17 and @horsburgh for considering the suggestions. |
@jcaraballo17 FYI I just redeployed the app from scratch and I faced these two new issues which are related to outdated old code. Something to keep in mind for the next update
|
@amabdallah Great, see you next week!
This is an issue with the library you're using in that django command, the newer versions of it doesn't seem to support reading XLSX files. If you need it to work right now, you can install the version of
Starting December of last year, GitHub decided to deprecate basic authentication for every use, from now on everyone will have to create a token for authentication and use that to login to be able to use Git. |
thanks, @jcaraballo17 for your help on these two issues. Ideally, the Github one needs to be incorporated in the Ansible deployment. By the way, it would be a plus if you can add a few helpful error messages for things that may go wrong in the deployment. It took me a while to understand and debug things in the past. |
We plan to continue using this system to manage the ODM2 controlled vocabularies. However, others may want to use this system to manage their own vocabularies. We need some brief instructions on how to deploy this system. There should be a link to this on the main repository readme and then a separate markdown file in a "doc" folder that has deployment instructions.
The text was updated successfully, but these errors were encountered: