deployment
How to deploy SQL Server Compact Edition 4.0?
i’ve created the solution. SQL Server Compact Edition is comprised of 7 dlls: sqlceme40.dll The undocumented, native, flat API library (The .net System.Data.SqlServerCe.dll assembly is a wrapper around this dll) sqlceca40.dll A COM dll that implements Engine, Replication, Error and a few other COM objects sqlceoledb40.dll A COM dll that implements an OLEdb provider for … Read more
How to wait for server restart using Ansible?
Ansible >= 2.7 (released in Oct 2018) Use the built-in reboot module: – name: Wait for server to restart reboot: reboot_timeout: 3600 Ansible < 2.7 Restart as a task – name: restart server shell: ‘sleep 1 && shutdown -r now “Reboot triggered by Ansible” && sleep 1’ async: 1 poll: 0 become: true This runs … Read more
How do I upgrade to jlink (JDK 9+) from Java Web Start (JDK 8) for an auto-updating application?
In May 2019 commented to watch the OpenWebStart project. Now (October 2019) it is time to give OpenWebStart serious consideration. While not yet feature complete, a alpha beta release of OpenWebStart is now available for download under a “GPL with Classpath exception” license. The OpenWebStart Technical Details page states: OpenWebStart is based on Iced-Tea-Web and … Read more
Deploy to iPhone without running
Edit your launch Scheme, open the section titled “Run myApp.app” and toggle ON the option to “Wait for myApp.app to launch”. It will then just install, and not run the app. If you do run it yourself, the debugger should attach. This is useful for when you want to test how your applications works when … Read more
error: This is probably not a problem with npm. There is likely additional logging output above
Delete your package-lock.json file and node_modules folder. Then do npm cache clean npm cache clean –force do npm install again and run
What is the Python equivalent of Tomcat?
There are different approaches which have one thing in common: They usually communicate via WSGI with their “container” (the server receiving the HTTP requests before they go to your Python code). There are various containers: wsgiref – a very simple reference implementation which is nice during development Apache with mod_wsgi most other Webservers with a … Read more
How Do You Secure database.yml?
The way I have tackled this is to put the database password in a file with read permissions only for the user I run my application as. Then, in database.yml I use ERB to read the file: production: adapter: mysql database: my_db username: db_user password: <%= begin IO.read(“/home/my_deploy_user/.db”) rescue “” end %> Works a treat.