countdownserverside's Introduction
Required to start backend: Vagrant VirtualBox Once you have Vagrant installed and working, do `vagrant up` in the base directory to start the server. Next you can access the server via `vagrant ssh`. All files in the project folder are in /vagrant. To provision the server(update so you can use Flask, etc) please do `cd /vagrant; sudo ./bootstrap.sh` This may break due to what appears to be some invisible characters. in that case, just run the individual commands from bootstrap.sh individually. When you want to shut down the VM, use `vagrant halt` and NOT `vagrant destroy`, we don't want to waste time provisioning more than once. IN THE TOP LEVEL DIRECTORY: Start the rest API/server with `python RestEntry.py`. The SQLite database is file based and needs no setup besides initializing with `python setUpDB.py` UNIT TESTS: First, run setUpTestDB.py to populate the test database. Then you can run the unit tests in TestDBResources.py. Functional Tests/Code Coverage: Similarly, run setUpDB.py to set up the database in order to run the functional tests in APITest.py. To run coverage, we have set up a makefile with commands. This will require two terminals 1. `make cover` to start Flask 2. `python APITest.py` in another terminal to run the functional tests 3. CTRL+C in the terminal 1 to stop the Flask server and finish covering 4. `make report` to generate coverage html files in ./htmlcov The index file is ./htmlcov/index.html
countdownserverside's People
countdownserverside's Issues
Task IDs are not sent to client side
Need to send IDs back to user/client after creation of new objects where the client needs to ID for future contact via API
Tasks' last modified/completed update problem
When a task is set to complete, it's completion time attribute is not set.
Need way to remove dead/unreferenced tasks
'Deleted' tasks can stay forever, even with no references to them.
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.