Comments (8)
Hmm, I didn't suspect that Process deployed the master branch of Views, since master branches in our setup are development branches…
Anyhow, the deployment can be somewhat simplified by pip install -e git+https://github.com/open-contracting/kingfisher-views.git#egg=ocdskingfisherviews
And then instead of changing into its directory, ocdskingfisher-views-cli
will simply be available as a command-line tool from any directory.
from deploy.
since master branches in our setup are development branches…
For scrape, process and views we don't have any versioning process at present tho, so it's not a "dev" branch. It's more a continuous deployment type thing - as soon as something is merged to master, it should be considered deployable. Happy to discuss that, tho a new issue would be good, let's keep this issue on track.
I'll tag @kindly to comment on method of installation, we'll chat.
from deploy.
Have chatted. Personally because you have to change into the directory to activate the virtual environment anyway it never bothered me that the command only works from one place (and I think we definitely want to keep a virtual env) - but happy to try an option that allows running from any directory.
from deploy.
I think if it's installed with setup.py then it will be available from any directory – once the virtualenv is activated.
Whether we install via setup.py or requirements.txt is the discussion in open-contracting/lib-cove-ocds#28 (comment)
If we end up installing with requirements.txt, then we can just have the command run from one place.
from deploy.
Make sure Python dependencies are working, including knock on effects
from deploy.
The original problem that prompted this ticket has been fixed and deploys are fine.
Is there anything that has come out of this discussion you want to pick up as distinct tasks to look at? I think because views doesn't have a setup.py there isn't at the moment, and open-contracting-archive/kingfisher-vagrant#329 might change how it's installed anyway.
For scrape, process and views we don't have any versioning process at present tho, so it's not a "dev" branch. It's more a continuous deployment type thing - as soon as something is merged to master, it should be considered deployable.
Should this be documented somewhere, the Sphinx docs for each repo maybe, or the standards handbook?
from deploy.
I made this PR: https://github.com/open-contracting/standard-development-handbook/pull/222/files
from deploy.
Now that's merged, I think this can be closed?
from deploy.
Related Issues (20)
- Merge downtime protocol into documentation HOT 2
- Registry: Consider increasing the log level for expected exceptions in various components
- RabbitMQ: Create application-specific users to correlate connections with applications
- Kingfisher personal SQL user account HOT 2
- Linode IPv6 process changes documentation HOT 3
- Update various documentation as Linode transitions to Akamai Connected Cloud
- Messages still being sent to Open Data Services Coop
- Upgrade RabbitMQ
- Kingfisher personal SQL user account HOT 3
- PostgreSQL backups (ocp13, ocp14, ocp24)
- Credere staging server
- RabbitMQ upgrade HOT 2
- Use ed25519 or rsa for SSH keys HOT 3
- Coalition (ocp21) MySQL and Site backups HOT 1
- Update create server process to not add port knocking if Docker to be added later HOT 2
- Add WordPress auto-update script
- Update documentation for "one dir" Salt HOT 3
- Put Apache (ProxyPass) in front of RabbitMQ's management interface HOT 1
- Implement retention policy for Kingfisher Process v2
- include isn't working with Salt 3006 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy.