Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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]
```