Comments (1)
Next things have been done for this.
Combine build and deploy steps
In general there is still separate build and deploy steps, but grunt build
is now running during deploy step, so all env variables are available already, so it's also kind of simplification, developers often use env variables in superdesk-client-core
and liveblog
too, so I don't need to keep and modify config.json
file in fireq repository. Should be easy to maintain fireq
.
Get rid of supervisord
So now we have systemd
service file with honcho
inside, looks better, also it's possible to create another systemd
service for testing purposes (like running e2e tests).
Use only settings.py
for server configuration
I gave up this idea, because we have too many different projects with different settings.py
and moving them to fireq repository is just crazy. Anyway it still needs some env variables declared somewhere, for client SUPERDESK_URL
, SUPERDESK_WS_URL
are needed, PYTHONUNBUFFERED=1
and C_FORCE_ROOT=1
for honcho
, etc. So for simplification (from user perspective) we now have one /opt/superdesk/activate.sh
where we load virtualenv and declare some env variables, there is optional /opt/superdesk/env.sh
which uses in CI and loads in activate.sh
script.
There is also new build&deploy templates tpl/superdesk-new without main superdesk repo and with minimal set of files to run superdesk using just cores. It was created mainly for inspiration in regards of #8 (rethink main repo), union /opt/superdesk/activate.sh
script came from this attempt... It can be used for user installations in future.
from fireq.
Related Issues (12)
- Fresh Ubuntu 16.04 doesn't work on Digital Ocean droplet HOT 3
- Problems with configs
- Rethink the structure of main superdesk repo HOT 5
- Generate docs for cores HOT 1
- Use only one config auth for Github HOT 1
- Caching for "green" commits of cores
- Database backup/restore automation HOT 3
- Try to separate superdesk specific logic from fireq core
- After demo data installation I can't log in HOT 4
- unable to install superdesk - error HOT 1
- No joy on auto-installer
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 fireq.