Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roschaefer/websitemanagement
https://github.com/roschaefer/websitemanagement
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/roschaefer/websitemanagement
- Owner: roschaefer
- Created: 2013-02-18T19:31:10.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-10T22:07:01.000Z (over 11 years ago)
- Last Synced: 2023-04-03T21:56:15.479Z (almost 2 years ago)
- Language: Ruby
- Size: 465 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WebsiteManagement
=================
[![Build Status](https://travis-ci.org/teamaker/WebsiteManagement.png)](https://travis-ci.org/teamaker/WebsiteManagement)Container Web Application to host static websites and allow individual users access to them.
## BackgroundMy brother designs and styles static websites. He asked me to develop a simple web application where he could host the current state of his work and grant his clients access to it.
## Install
```shell
git clone git://github.com/teamaker/WebsiteManagement.git
cd WebsiteManagement
bundle install
rake db:migrate
rails server
```
Now navigate to the admin interface (=> /admin) and log in as admin with email `[email protected]` and password `initial0`Change your password!
## Workflow
#### Create and notify a user
1. Log in as admin and visit the admin interface
2. Go to the users page and create a user - a mail with username and random password will be send to the user's email address#### Create and assign a website
1. Zip some static html content (at least a file "index.html")
2. Log in as admin and visit the admin interface
3. Go to the websites page, create a website for your client and upload the .zip archive
4. Now your client can visit your static websiteEvery user has his own profile page. Clients can navigate to their associated websites and admins have access to all user profiles and static websites.
## Tests
##### Run unit tests:
rake spec
##### Run integration tests:
rake cucumber:all