Giter VIP home page Giter VIP logo

homepage's Introduction

Homepage

pipelinestatus

Description

This Repository contains the files necessary to run my homepage. It uses rust as it's backend language with the web framework rocket and the ORM diesel and for the frontend it uses sass for styling and the lit webframework for more complicated fronted code

Dependencies

In order to build it and deploy it you need:

  • make
  • sassc
  • yarn
  • A working rust installation (stable channel)

Setup

Compilation

To build everything just run make (note that make doesn't just build the webserver but also all the frontend code).

Database setup

The database url is read from the environment variable DATABASE_URL (you can store it in .env). To set up the database you can use the diesel cli. You can simply run diesel migration run to setup your database.

If you're using the docker image of this website I would recommend using docker-compose to setup the database. There is an example provided in compose_example.yml that shows how you can setup your environment.

Running

If you wish to run the website use cargo run

homepage's People

Contributors

uludev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.