Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cuboulder/atlas
Website inventory and deployment agent for Web Express
https://github.com/cuboulder/atlas
drupal python python-celery python-eve rest-api
Last synced: 3 months ago
JSON representation
Website inventory and deployment agent for Web Express
- Host: GitHub
- URL: https://github.com/cuboulder/atlas
- Owner: CuBoulder
- License: mit
- Created: 2016-02-17T21:28:25.000Z (almost 9 years ago)
- Default Branch: dev
- Last Pushed: 2022-12-27T14:55:08.000Z (about 2 years ago)
- Last Synced: 2023-03-22T20:47:55.766Z (almost 2 years ago)
- Topics: drupal, python, python-celery, python-eve, rest-api
- Language: Python
- Homepage: https://cuboulder.github.io/atlas/
- Size: 1.59 MB
- Stars: 3
- Watchers: 16
- Forks: 5
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Atlas
Atlas is a RESTful API that interacts with servers to deploy and maintain [Web Express](https://github.com/CuBoulder/express) at University of Colorado Boulder.
## Features
* Chronological tasks run to keep a small number of instances available for assignment to end users.
* POST to create additional instances on demand.
* Available instances are replaced every night.
* All items are versioned.
* Backups and restore to new instance.### API
* Prefers to receive JSON encoded POST request.
* CRUD Web Express instances## Local setup
* Create and activate virtual environment
```sh
virtualenv .venv
source .venv/bin/activate
```* Install requirements
```sh
pip install -r requirements.txt
```* Install MongoDB - [Homebrew](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)
```sh
brew tap mongodb/brew
brew install [email protected]
# Run as a Homebrew service
brew services start [email protected]
```* Create config files and update with your information
```sh
cp atlas/config_local.py.example atlas/config_local.py
cp atlas/config_servers.py.example atlas/config_servers.py
```* Start Atlas
```sh
FLASK_APP=run.py flask run
```* Import sample database
```sh
mongorestore [path/to/dump/location]
```