Giter Site home page Giter Site logo

gnohead-w3space's Introduction

๐Ÿ‘‹ Hello developer!

This is one of the many templates available from W3Schools. Check our tutorials for frontend development to learn the basics of HTML, CSS and JavaScript. ๐Ÿฆ„
Also check Python and Django tutorials to grasp the backend of this template.

Knowledge requirements

To be able to fully understand and modify this template to your needs, there are several things you should know (or learn):

Warning - environment variables

Do not change DATABASE_URL and SECRET_KEY, as these are generated. If they are changed the space may not behave as predicted. Remember to switch DEBUG to false when going to production

๐Ÿ”จ What's next?

Customize this template to make it your own.
Remember to make your layout responsive - if you want your site to look good on smaller screens like mobile.

๐ŸŽจ Where to find everything?

This template is made by using several technologies. Below are explanations about where to find specific code.

HTML

HTML files are stored in a folder called templates. Files have .html extension. In templates/base.html you can add your external links and scripts, or change other meaningful things that is relevant on every page. You can find other templates in templates/.

CSS

CSS files can be found in /blog/static/css.

Core files

You can find:

  • views in blank/views.py.
  • local URL configuration in blank/urls.py.
  • global URL configuration in blank_template/urls.py.
  • models (for tables) in blank/models.py.
  • static files in blank/static.
  • settings in blank_template/settings.py

Database

Dynamic spaces can use SQLite database.
The database file is called database.db. It is placed inside the w3s-dynamic-storage folder.
SQLite connection path to the database is sqlite:///w3s-dynamic-storage/database.db which you can use to connect to the SQLite database programmatically.
For this template, the database connection path can also be found in the environment.


Do not change the w3s-dynamic-storage folder name or database.db file name!
By changing the w3s-dynamic-storage folder name or database.db file name, you risk the space not working properly.

๐Ÿ”จ Please note

For now files created/uploaded or edited from within the terminal view will not be backed up or synced.

โ›‘ Need support?

Join our Discord community and ask questions in the #spaces-general channel to get your space on the next level.
Send us a ticket if you have any technical issues with Spaces.

Happy coding!

gnohead-w3space's People

Contributors

gnohead 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.