Skip to content

Ydrasil/neomad.org

 
 

Repository files navigation

Neomad website

Neomad is a open-source community project for nomad workers and people willing to nomadize themselves.

View continuous tests results

Requirements

If you don't have/want to use docker, you can process to the Manual installation section.

Installation

git clone [email protected]:neomad-team/neomad.org.git neomad
cd neomad

The next steps are also simple. Choose your story:

You may then want to create a user or to insert dummy data (make fixtures).

Lazy developer installation

make install

You're done. It's called lazy for a reason! Open your browser at http://localhost:5000/login. A user was created for you. email: [email protected], password: mypass.

Lazy you!

Next times you want to run your project, you can do the following:

make start

Full-Docker Installation

First of all you should create your required files: make install_files.

In the settings.py file, set the DATABASE = {…, 'host': 'db', …} to connect the server to the database ('db' is the actual name you want as host, it is the name of the docker link).

Then run docker-compose up and open your browser at http://localhost:5000.

You can access your python server machine with docker-compose exec -it web (you may need it to create a user for example).

The sources in your docker server are in the /app folder (cd /app).

Manual installation

Are you a Python warrior willing to take full control of your environment?

View the makefile file in the install section and tweak your commands. It's been made to be easily readable.

Note that you can either have your own MongoDB or use Docker even if it's only for running a database: docker-compose up -d db.

Configuring

In the previous commands you created a file called settings.py at the root of the project. Tune your settings there.

Extra commands

Creating a user

Users must currently be created manually. To do so, activate your virtualenv source ./venv/bin/activate and run the following command:

make create_user [email protected] password=mypass

You can now log on http://localhost/5000/login with "[email protected]" email and "mypass" as password.

For development, you may want to create a whole set of dummy data. To do so, just run: make fixtures

About

Platform for nomad workers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 37.4%
  • HTML 25.8%
  • CSS 18.8%
  • JavaScript 16.1%
  • Makefile 1.0%
  • Shell 0.6%
  • Nginx 0.3%