scheduler-api's People
Forkers
kir- ssspiderzzz sean-hl-lin scott09 kendallrowe renemroger t5krishn sjreive simongarber thoughtworks-tcaceres hyx131 rjblee jswelsh webtech-pmp therealarcher dominictremblay brainden jv-cortez notadeejay grant-murphy matt-catellier rafrocha declan-wu ahrke kvsuen jacksonf21 anniekao ray1028 andrewkim0318 rmcwhae arturaszuta gingsing rickychhoukdean randomhilarity ashalansky hsmalhi muraahm sockbot chaiurs itscharisma joshua-mcgee scottroberts0 willgwong mikel-k-khui andrewting112 kacsokz willow123red azzycodes elyeel jonny-ms ahana15 cindyhalim garychengc camerondunning kyoo95 allisonnnnnn atagadtad kennethz374 carmenluo maxwong03 theomalaper jatanassian harrishs thomasbogdanov camilarivera anthonyzhu132 krissyl sarahmahovlich kirillradaev anthonykao10 maggieholbling siningtong zongxili chrisnng hhaslam11 andrewhui e-rojas karlyabut malloryminchau jerry-chuang tumiduong jimmylin39 cmcewan93 tailorem asduong usmanw005 michael-choi cleoisme mathewkostiuk jomicm tyler-jm tammiec thilakshanarulnesan smesworld ojripley tlowande jacksonstark jimhjkim jadk97 lxg1992scheduler-api's Issues
API server should be run on virtual machine
In the section "Seeding," instructions say to "Run a the development server with npm start in the Host environment." This contradicts instructions on Compass, which state to run the API server on the Vagrant VM. The latter setup works; the former does not.
Relevant Compass page for reference (look in particular at the animated gif of the consoles) https://web.compass.lighthouselabs.ca/days/w07d3/activities/1004
Deployment to Heroku
Many students have had issues deploying to Heroku recently (myself included). Navigating to /api/days
for example times out.
In the package.json file, the following should be added to fix this issue:
"engines": {
"node": "12.20.1"
},
I found the solution from this thread:
https://stackoverflow.com/questions/66112339/persistent-h12-timeout-error-for-all-requests-that-run-a-database-query
Need to update the env. variables to instruct students to use development username + password
PGHOST=
PGUSER=development
PGDATABASE=
PGPASSWORD=development
PGPORT=
Installation process not working for ubuntu21.04
For the scheduler-api setup, students on ubuntu21.04 are likely to encounter this issue where they cannot get the node-postgres library / client to work with the database inside their vagrant VM (which I believe is ubuntu16). The workaround was to create the database on the host machine.
I can confirm the above^ based on my lengthy debugging process and the fact that I have 2 students having the identical issue.
It would be beneficial if we capture this as part of the scheduler-api setup instructions and/or provide alternative solutions (e.g. docker image). Let me know what you think. Thanks.
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.