Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
Jason Robbins e892ee8dec
Add gcloud component commands to README.md (#2102) 2022-08-11 18:26:32 -07:00
Jason Robbins 2f236fc745
Speed up deployments by separating rc targets. (#2046) 2022-07-19 10:36:05 -07:00
Daniel Smith c730fca07a
Update README.md (#1999)
This has happened twice to me now where I have set up the dev environment as described, but I did not update my GCloud CLI component. Running `npm start` suppresses the error message that states to update the component before continuing, and an unrelated error will appear. This PR adds this corner case to the README notes just in case it is a problem for anyone else.
2022-07-07 12:43:46 -07:00
Jason Robbins 8a9f86ef5e
Simply local setup steps. (#1987) 2022-06-30 17:45:02 -07:00
Jason Robbins 8dfd413c46
Be explicit about using python3.9. (#1983) 2022-06-28 08:12:44 -07:00
Jason Robbins 94e0bd5352
Eliminate unneeded env_vars.yaml. (#1957) 2022-06-21 11:11:05 -07:00
Jason Robbins df4aec4cf2
Send and receive emails in py3 using GAE legacy libraries (#1923)
* Progress

* Send and receive emails in py3 using GAE legacy libraries.

* No need to run py2 unit tests when there are none

* Addressed review comments.
2022-06-10 14:56:40 -07:00
Jason Robbins f3bf744ba5
Added a brief mission and link to launch process docs. 2022-03-22 18:39:28 -07:00
Jason Robbins 8fc1070f35
Update README.md
Removed the dynamic lighthouse image from README.md because the app that it relied on is not working and the test that it was doing is no longer relevant since we simplified this app.
2022-03-22 10:12:21 -07:00
Jason Robbins 9b420b811b
Updated developer docs (#1798) 2022-03-18 16:43:25 -07:00
Jason Robbins f29a2ff916
Avoid needing to run py2 on workstations. (#1734)
* Avoid needing to run py2 on workstations.

* Use gunicorn instead of dev_appserver

* Add comment to explain that dev-default.yaml is not currently used.

* Use venv pip to install py3 deps.

* Auto-activate and stop referencing lib/.

* Make gunicorn use libs in cs-env.
2022-02-15 13:31:27 -08:00
Kyle Ju 0ec21c50d1
Update installation instructions (#1711)
* Update installation instructions

Update installation instructions
 - Specific the directories 
 - Use an older node version
 - install pip for python 2
 - Use python2 to install `requirements.dev.txt`

* Update README.md

* Update README.md

* Update package.json

* Update README.md

* Bump to node 12

* Add sudo

* Update ci.yml
2022-02-02 14:51:37 -08:00
Jason Robbins 18210d537d
Update setup instructions. (#1548)
* Update setup instructions.

* Update README.md

Co-authored-by: Kyle Ju <kyleju@google.com>

Co-authored-by: Kyle Ju <kyleju@google.com>
2021-09-22 11:00:11 -07:00
Jason Robbins b275a625ae
Use a single npm target to run unit tests (#1430)
* Combine test steps into one npm script.

* Update README

* Return the test run exit status as the overall exit status
2021-07-21 15:36:48 -07:00
Jason Robbins c99738bf0f
Don't set DATASTORE_EMULATOR_HOST on GAE (#1403) 2021-07-09 12:38:30 -07:00
Shivam Agarwal fd6018bd3d
20210618 gae ndb to cloud ndb (#1365)
* Added Cloud NDB to requirements

* google-cloud-core 1.7.0 requires google-auth<2.0dev,>=1.24.0, but you'll have google-auth 1.20.1 which is incompatible.

* Running DataStore Emulator on port 15606 and setting environment variable for the same

* Replaced GAE NDB imports with Cloud NDB imports

* Solved Error: No Context for Ramcache

* Solved No NDB Context Error for Cloud NDB

* Fixed Error No object QueryOptions

* Removed clear_datstore flag

* Fixed to_dict() method

* Added explicit call to method for stashing values while editing a feature

* Using Cloud NDB in testbed

* Updated README with JRE instructions and setting the DJANGO_SETTTINGS_MODULE environment variable for django.setup

* Added Env Variable for datastore emulator

* Migrated accounts_api_test.py

* Migrated approvals_api_test.py

* Migrated Comments.py and Cues_api_test.py

* Migrated Features.py

* Migrated metricsdata_test.py

* Migrated stars_api_test.py

* Fixed Deprecation warning for query options

* Migrated token_refresh_api_test.py

* Migrated basehandlers_test.py

* Migrated permissions_test.py

* Migrated ramcache_test.py

* Migrated secrets_test.py

* Migrated xsrf_test.py

* Migrated fetchmetrics_test.py

* Migrated models_test.py

* Migrated notifier_test.py

* Migrated processes_test.py

* Migrated featuredetail_test.py

* Migrated featurelist_test.py

* Migrated guide_test.py

* Migrated intentpreview_test.py

* Migrated samples_test.py

* Removed some unused stubs

* Set the consistency of datastore emulator to be 1

* Resetting the database emulator before running the tests

* Added npm targets for starting and stopping emulator

* Updated README and Developer Docs

* Removed unused imports

* Made NDB calls DRY
2021-06-28 19:05:04 -07:00
Kyle Ju 515e1bb6a6 Update README 2021-06-02 17:59:55 -07:00
Shivam Agarwal 072e92d4b2
Updated ReadMe with solutions to installation problems and creating an admin user (#1339)
* Updated ReadMe with solution to installation problem that may occur

* Updated Developer Documentation with instructions for creating an Admin User
2021-05-28 15:00:52 -07:00
Jason Robbins d6cbfe835f
Fix and simplify project installation. (#1335) 2021-05-26 11:07:04 -07:00
Jason Robbins 10058da34c
Add separate prod client_id and registered release candidate URLs. (#1313) 2021-05-07 14:03:08 -07:00
Jason Robbins fd4875a95f
Stop hitting prod when testing locally. (#1292) 2021-04-28 15:17:39 -07:00
Jason Robbins b495597a77
Work around crumbling python2 support. (#1263) 2021-04-12 18:18:29 -07:00
Jason Robbins 9a0019035d Update README to avoid frustrated GSOC students. 2021-03-16 19:17:55 -04:00
Jason Robbins 8d5af789ab
Update README.md
Added note about jinja2.tests problem that new developers are hitting.
2021-03-15 18:26:43 -07:00
Jason Robbins 28840790b5 Remove unneeded firebase environment variables 2021-02-24 16:31:01 -05:00
Jason Robbins 9cb625cf1a Updated obsolete info in README.md 2021-02-24 16:16:30 -05:00
Jason Robbins 41f68437bd
Set up unit tests locally and in travis. (#734)
In this CL:

* Set up a test directory for python unit tests
* Add a script to package.json to make 'nom run test' run the python scripts and document that in README.md
* Add the mock library for python mock objects
* Implement a few simple unit tests, including one that uses mock
* Add a test/testing_config.py file that finds the needed GAE libraries and adds them to the python system path so that they can be imported in code that is being tested
* Hack on the travis config to get it to install gcloud with python libraries without running out of disk space, and make it run the tests
2020-01-30 10:57:22 -08:00
Jason Robbins 9466f5cb58 merged from master to dev to resolve conflicts. 2020-01-13 18:36:01 -05:00
Yangguang a448e6f9bf Using rollup for components (#679)
* Import lit-virtualizer

* misc

* Add rollup and add it to gulp task

* Update gulp

* Downgrade paper-toggle-button to input checkbox

* Include all css to lit-elements

* Add rollup minify. Remove unused packages.

* Fix code review feedback

* Fixes based on code review.

* Remove two unnecessary .call(this, ...)

* Bind _onFeatureToggled (used inside lit-virtualizer) in the constructor

* Add lit-analyzer

* Update lit-analyzer script
2019-11-11 14:32:32 -08:00
Johnny Stenback c79240c32a Update django to 1.11 (LTS). #668
This updates django to the latest LTS version (1.11), and bumps the gulp
version while we're at it.
2019-08-14 11:59:14 -07:00
Yangguang Li 07fd72e47a Update lint fix 2019-07-01 14:28:54 -07:00
Yangguang Li 3f3c580707 Add fix lint 2019-06-27 13:52:25 -07:00
Yangguang Li 7437677a9b Rename pages 2019-06-25 11:16:06 -07:00
Johnny Stenback 27636b25c4
Add note to migrate traffic to both the default and notifier services.
Expand on the deployment instructions a bit to clarify that cr-status contains two services, 'default' and 'notifier'.
2019-06-14 13:20:27 -07:00
Yangguang Li 830872e4ff Add gulp watch 2019-05-22 11:51:38 -07:00
Yangguang Li 7196301568 WIP 2019-05-22 11:13:09 -07:00
Joe Medley 5e8b3d7274
Update README.md 2019-03-01 13:01:21 -08:00
Joe Medley edc0a2ec4e Clarify deployment instructions. (#593) 2019-02-27 13:10:52 -08:00
Eric Bidelman ca2ef3aa9f
readme: add note about blink components 2019-02-11 16:07:34 -08:00
Eric Bidelman b60d4e7992
readme: add env_vars.yaml mention 2018-07-17 11:16:04 -07:00
Eric Bidelman ba43b4464f
readme: use pwa score 2018-02-26 22:28:59 -08:00
Eric Bidelman 845b4da1e5
readme: update LH badge 2018-02-26 22:27:30 -08:00
Eric Bidelman f0ea082304
Update README.md 2018-01-31 14:04:17 -08:00
Piper Chester d86c88a093 Add period after sentence in README (#518) 2017-10-17 19:54:11 -07:00
Eric Bidelman 20e0d5993d Add new settings to readme 2017-08-20 09:08:35 -07:00
Eric Bidelman 46f72420c7 Push notifications: sent to subscribers when feature is updated 2017-08-06 10:35:40 -07:00
Eric Bidelman e4b4e6e19d Update travis 2017-07-03 10:56:36 -07:00
Eric Bidelman 6b9aba52aa Feature owners: db notifications and task queue.
- Intercepts calls to Feature.put() and diffs changes in properties for updates
- Creates async task queue and email notifies feature owners
- Switch to pip and custom django install instead of GAE version
2017-07-02 21:25:30 -07:00
Eric Bidelman a034056519 Add info on seeding component owners list 2017-06-30 16:04:31 -07:00
wh0 16a66ec0d5 Correct copyright holder in README 2017-02-15 15:05:51 -08:00