Skip to content

Different templates for for staging and production #866

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

Closed
6 tasks done
pcrespov opened this issue Jun 6, 2019 · 1 comment
Closed
6 tasks done

Different templates for for staging and production #866

pcrespov opened this issue Jun 6, 2019 · 1 comment
Assignees

Comments

@pcrespov
Copy link
Member

pcrespov commented Jun 6, 2019

  • templates are NOT loaded anymore from json but from database
  • scripts to convert from json to CSV or SQL so it can be injected in projects tables using adminer (PR Enh/demo tools #869)
  • inject in master [1-8] db
  • inject staging [1-6] db
  • inject production [1-4] db
  • test that 1-4 work in staging before updating production

NOTE: remove template 2 from staging and production

@pcrespov pcrespov self-assigned this Jun 6, 2019
pcrespov added a commit that referenced this issue Jun 6, 2019
Implements #866
* Disables fake-projects: Application does not load template projects via fakes
* Moves all calls to get fakes under project's db api
@pcrespov pcrespov mentioned this issue Jun 6, 2019
3 tasks
pcrespov added a commit that referenced this issue Jun 6, 2019
Implements changes in #866

* Application does not load template projects via fakes
* Moves all calls to get fakes under project's db api 

NOTE: these changes are already in master (cherry picked from there) and have tested that work there.
@pcrespov
Copy link
Member Author

pcrespov commented Jun 7, 2019

#870 fixes issue introduced by this case

pcrespov added a commit that referenced this issue Jun 7, 2019
Implements tools under [scripts](scripts) folder

- Moves isan demo from sandbox to [scripts/demo](scripts/demo)
- Create converter tool to convert template studies into csv that can be injected via portainer ( #866 )

* Converts json projects to csv
* Changes create_portal_markdown
 - adds cli
 - hard codes mock-codes
 - produces table of codes as csv file which is importable into postgres using adminer
* Demo unnecesary in osparc.io
* MaG review: Changes url master. Regenerated portal_markdown and invitation timestamps
pcrespov added a commit that referenced this issue Jun 10, 2019
- Fixes issue introduced with #866: template studies did not open. GET project/{project_uuid} was only returning template projects
- sets all as default in GET projects/
- Fixed fake_db fixture and doc

Cherry-picked squashed PR #870  to master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant