Create an open source website for free

With Web.mvc

by Danny Waser | April 24, 2020


None

Do you need a free website? Do you have some knowledge of web development or want to learn? You are in the right place.

Web.mvc is an easy, fast and above all open source website creation tool. This means you can start building your site for free right now using the Source version of Web.mvc.

Discover Web.mvc

A revolutionary website creator who helps you publish your content in a few minutes while respecting your personal data as well as that of your visitors.

Find out more

Obtain the Web.mvc Source license

To download Web.mvc and get started with creating your free website, you need to obtain the free Web.mvc Source license.

Source

This license authorizes you to obtain, copy, modify, use and publish this technology for your personal or commercial use.

Free   Avanced

Pay with your time

This free and open source license allows you to take care of hosting your website yourself. You can modify the source code of Web.mvc to adapt it to your needs as well as redistribute your modifications under the same license (GNU GPL v3).

Note that programming skills as well as web development skills may be required.

Once you have obtained the Web.mvc Source license, you have access to the source code of Web.mvc. From here, you can start creating your website.

Create your site

To start creating a simple site, you don't need to modify the source code of Web.mvc. Just change the basic Web.mvc Theme to get started.

You will find the link to obtain the theme in the README.md file located at the root of the source code for Web.mvc.

Start by cloning the theme files on your local storage using the "Download" button or the git clone command.

Create an .env file and modify the variables it contains.

cp .env.exemple .env

Install direnv and allow it for the project root folder.

direnv allow .

Then initialize Web.mvc

make env
make init

Here is the structure of a theme.

Web.mvc Development

It is a light version of Web.mvc for the development of your theme. This version of Web.mvc is only used for development and will not be used in production.

Theme

This folder contains all the files for your theme. He is responsible for displaying the elements of your site. Any changes you make will be used with the production version of Web.mvc.

Management files

These files are used to manage your theme. To launch the development version of the site or create the production version, for example.

Modify the theme

The basic Web.mvc theme is just a template for creating your own. It contains neither layout nor, of particular style. It is simply a blank canvas to quickly start creating your personalized theme.

To change the theme, you have two options.

Create your own theme

If you feel designer at heart and you are skilled with HTML/CSS, you can create your own theme with Bootstrap 4 starting from the theme templates to create your custom design.

See the Bootstrap documentation.

Adapt a Bootstrap 4 template

The other option is to use a Bootstrap template pack created by talented designers to apply it to your site. This option is the easiest and quickest because you just need to find a Bootstrap template pack that you like and adapt it to your Web.mvc theme.

There are many sources of Bootstrap templates on the Internet. Some are paid others free.

You can find many free Bootstrap template packs on the Colorlib website. If you want to remove the copyrights displayed in the footer, you will need to purchase a unique license for your site.

Test your theme

If you want to test your theme, you can use the following command to create a local development server.

make server

With this command, you have created a development version of your theme on port 8000 of your localhost local network.

Add pages, articles and all kinds of content to see the effects of your changes.

Deploy your site

Thanks to Docker, it is quick and easy to launch your site into production.

To get started, you can create a server with docker-compose using the following command.

make compose

If this is the first time you are creating your server using docker-compose, you should create an administrator account.

docker-compose run web_mvc /web_mvc/manage.py createsuperuser

Alternatively, you can easily deploy Web.mvc using Jelastic Cloud.

Start by creating a Docker image of your theme. You will need a free Docker Hub account to host your image.

Change the variables DOCKER_USER, DOCKER_PASSWORD of the .env file with the values ​​corresponding to your account.

Then publish your theme image.

make image

Install Cloud.API and python-nginx inside your environment. This will manage the database, the administrator account as well as the configuration of NGINX.

source env/bin/activate
pip install git+https://gitlab.waser.tech/wasertech/cloud.api.git
pip install python-nginx

Create a Jelastic Cloud account using the provider of your choice. You can test Jelastic for free with Infomaniak.

Modify the API_PLATEFORME and API_TOKEN variables of the .env file with the corresponding values.

Finally, upload your Web.mvc server to your Jelastic Cloud.

make jelastic

Conclusion

It is very easy to use Web.mvc source thanks to its shortcuts of commands as well as to the excellent documentations annexed to the project. However, you will surely need time to fully master the technology according to your level of web development. Be patient and don't forget to read the supporting documentation if you don't understand something.

Do you need a website quickly?

Use Web.mvc Cloud and create your site in minutes without code using our themes collection.

You also have access to our customer support as well as the possibility to request new functionalities.

Related articles

None

How to create a website

With Web.mvc

Do you need a website quickly? You do not know how to do it ? Thanks to Web.mvc you can easily and quickly create your website.

None

Create your first page

With Web. mvc

In this article, we will see how to easily create a page, add content to it, format it and share it with the whole world.

None

Commencer un Blog de A à Z

Avec Web.mvc

Vous avez besoin d’un blog personnalisé et sécurisé rapidement ? Vous n’avez encore jamais créé de blog et vous ne savez pas trop comment vous y prendre ?