Skip to content
Snippets Groups Projects
Maxime Gaillard's avatar
Maxime authored
Signed-off-by: default avatarMaxime Gaillard <maxime@naeka.fr>
a703fe99
History

Vosae Blog

An amazing blog for a powerful application.

The main idea of this repository is to provide to our users (and future users) a way to see new releases, new fixes and every updates we made in Vosae.

Install instructions

After cloning, or to rebuild virtualenv
# In your virtualenv root:
...$ ./virtualenv.sh build

# For more options
...$ ./virtualenv.sh help

Working with Pelican

To test what your site will look like, run:

$ cd www
$ make html

This generates the static content. And then:

$ make serve

And you can now check your site out at http://localhost:8000/ in your browser.

In development

Normally you would need to run make regenerate and make serve in two separate terminal sessions, but you can run both at once via:

$ make devserver

The above command will simultaneously run Pelican in regeneration mode as well as serve the output at http://localhost:8000. Once you are done testing your changes, you should stop the development server via:

$ ./develop_server.sh stop

Putting the content on S3 (done by Travis)

$ pip install s3cmd
$ s3cmd --configure

The only user granted to the S3 bucket is vosae-blog

Now any time you want to rebuild your content and push it to s3, it's a simple call to:

$ make s3_upload

This rebuilds all the static content, then pushes it to s3. All you need to do after editing or adding any content is run this command again.