Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add basic db schema. | Harald Eilertsen | 2019-03-04 | 7 | -0/+147 |
| | |||||
* | Don't version control .env file. | Harald Eilertsen | 2019-03-04 | 1 | -0/+1 |
| | |||||
* | Set up database and connection pool with rocket_contrib::databases. | Harald Eilertsen | 2019-03-04 | 6 | -3/+295 |
| | | | | | Set the env var DATABASE_URL before running the server. A .env file in the root of the project is also supported. | ||||
* | Remove templates and dep on askama no longer needed. | Harald Eilertsen | 2019-03-04 | 4 | -129/+0 |
| | |||||
* | Use rocket_contrib StaticFiles module to serve static files. | Harald Eilertsen | 2019-03-04 | 6 | -26/+358 |
| | | | | | | | This also changes the structure of the app quite significantly. Instead if generating the html for the index, we simply provide a public/index.html static file instead. For now this seems to make sense, it may not hold in the long run, but that's for another time to worry about. | ||||
* | Add basic stylesheet. | Harald Eilertsen | 2019-03-03 | 2 | -0/+11 |
| | |||||
* | Move basic page layout to base template. | Harald Eilertsen | 2019-03-03 | 2 | -9/+31 |
| | |||||
* | Enable askama rocket integration. | Harald Eilertsen | 2019-03-03 | 3 | -8/+5 |
| | | | | Let's us return templates directly, and have rocket render it for us. | ||||
* | Rename program to simply ramaskrik. | Harald Eilertsen | 2019-03-02 | 2 | -2/+2 |
| | |||||
* | Add license. | Harald Eilertsen | 2019-03-02 | 3 | -0/+695 |
| | |||||
* | Use askama for templates. | Harald Eilertsen | 2019-03-02 | 4 | -3/+107 |
| | |||||
* | Add favicon and route to get public files. | Harald Eilertsen | 2019-03-02 | 2 | -2/+8 |
| | |||||
* | Into space... | Harald Eilertsen | 2019-03-02 | 4 | -0/+510 |