Skip to content
This repository was archived by the owner on Apr 10, 2020. It is now read-only.

CodeForKids/wagn

 
 

Repository files navigation

Wagn is an open web platform for building coherent web systems.

Using simple wiki-inspired building blocks called cards, “Wagneers” construct sites ranging from simple content managers to custom project trackers to fully integrated web suites.

Ruby

version 1.8.7 or higher

Bundler

version 1.0 or higher

ImageMagick
A database engine

Either MySQL or PostgreSQL

gem install wagn

Watch carefully for errors!

wagn new mysite

Edit the config/database.yml file as necessary. More about database configuration at www.wagn.org/database_configuration.

Then run

cd mysite
rake wagn:create

..to create and seed the database

To fire up the default, built-in WEBrick server, just run:

wagn server

…and point your browser to localhost:3000 (unless otherwise configured).

WEBrick is great for a quick test run. To run a production website, see www.wagn.org/wagn_in_production.

Always back up your database and uploaded files.

From your wagn root directory run:

bundle update

Run the following:

rake wagn:migrate

As with all rake commands, you can try prefacing with “bundle exec” if you encounter gem problems.

First check the Wagn version of your existing site.

  1. Create a new Wagn app using steps 1 and 2 from the installation section above.

  2. Copy config/database.yml from the old site to the new one.

  3. Copy the old local/files contents to the new files directory.

  4. If you have edited wagn.yml in your old site, make the corresponding changes to the new config/application.rb file.

  5. Follow the standard upgrade procedure above.

First update your Wagn to version 1.10 via the old update mechanisms, and then follow the directions above.

Find lots more info at wagn.org

About

Ruby on rails wiki platform for collaborating to build custom web systems

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published