Comments (2)
I'm going to assume the question here is what it would take to run PeopleMath as a production application on a private server, rather than on Google App Engine, which is what the README instructions tell you how to do.
This should certainly be possible, but it would require some more work, probably including some changes to the application.
Firstly, you'll need to decide what persistent storage mechanism you're going to use for your data. The current backend (in the backend folder) supports only Google Cloud Datastore, so assuming that won't be available to you in your environment, you'll need to write a new implementation of the Go StorageService
interface for your chosen data store.
Then, you'll either need to add command-line parameters to main.go
that allow you to select and configure that data store (similar to what --inmemstore
does now), or add a new Go binary that starts the backend server using your storage service.
Then, you'll need to write configuration for whatever web server you're going to use, to achieve the same thing as the App Engine app.yaml file, i.e. /api/*
and /improve
requests should be proxied to your backend, requests for the Angular assets (HTML, JavaScript, CSS etc) should be served from a static location, and all other URLs should just serve index.html
.
I'd be happy to accept a pull request along these lines, provided the data store and web server you intend to use are reasonably mainstream (please read CONTRIBUTING.md first). If you're going to do this, please add a section to the README describing how to deploy in your chosen environment.
It's also important that the README's existing instructions for deploying on Google App Engine remain correct.
I hope this helped!
from peoplemath.
Closing this issue as I believe the question is answered.
If you'd like to contribute backend code for a specific persistent storage mechanism, and/or configuration and instructions for a specific web server, please feel free to open issues specific to those features. Many thanks!
from peoplemath.
Related Issues (20)
- Switch to modular AngularFire APIs HOT 2
- Better objective notes display in read-only mode (e.g. click-to-expand)
- Consider merging the edit and reordering modes HOT 1
- Add buttons to change effort estimates inline
- Angular 13 upgrade HOT 2
- Automatic backup of period changes (e.g. to defend against UI bugs, or for an undo feature)
- Pass models.Period around by pointer
- Flaky tests in Cloud Build (Async function did not complete within 5000ms) HOT 1
- Allow new objectives to be created at the bottom or top of the bucket
- Add a mechanism for deleting teams and periods
- Move off @angular/flex-layout
- Add request link to objectives
- Improved concurrent editing experience for periods
- Allow bucket allocation limits to be fixed in absolute terms HOT 3
- Allow user to specify bucket allocation rationale
- Add shortcut buttons for moving an objective around a bucket
- Warn user when bucket percentages add up to less than 100%
- Allow objectives to be edited in assignments-by-person view
- Show percentages of total resources in summary report
- Provide button to fix bucket allocation limit down to specific objective
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 peoplemath.