GithubHelp home page GithubHelp logo

samuelbanya / artgallerycreator2 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 49 KB

This is a spinoff project from my initial 'ArtGalleryCreator' project, but more specifically for my art portfolio website, 'sambanya.com'

License: GNU General Public License v3.0

CSS 10.30% JavaScript 3.51% Python 82.35% Shell 3.84%

artgallerycreator2's Introduction

ArtGalleryCreator2

This is a spinoff project from my initial 'ArtGalleryCreator' project, but more specifically for my art portfolio website, 'sambanya.com'

This is an attempt to make it make this project a bit more management with an '.env' environment variable file.

Feel free to utilize this for your website, but DO modify the '.env' file accordingly to suit your 'nginx' based website.

To be on the safe side, within your '/var/www/yourwebsite' directory on your site, you should create the following empty directories:

  • css
  • favicon
  • images
  • js

NOTE: Under 'images', also create another subdirectory called 'ArtGallery'.

Installation Instructions

Make sure you are using an 'nginx' based website on any desired VPS of your choice (Digital Ocean, Vultr, etc.)

Then, git clone this project onto the root of your website onto a sample directory.

Ex: '/deploy_scripts'

Then, make sure that the same directory is owned by the user with 'chown' commands recursively.

Ex: sudo chown -R tom /deploy-scripts

Then, install the dependencies required by the project for that given user, ex: 'tom' by using pip3 install.

You could get fancy and use 'venv' but to keep it simple, just make a new user on the given 'nginx' box and install the Python 3 dependencies as needed within the 'import' sections of the 'main.py' file.

You can then manually run the file as the given user, ex: 'tom', by using python3 /deploy_scripts/ArtGalleryCreator2/main.py.

Or, you can set the same task to a crontab job using 'crontab -e', and using the following syntax: */60 * * * * python3 /deploy_scripts/ArtGalleryCreator/main.py > /tmp/artgallerycreator_error.log 2>&1

artgallerycreator2's People

Contributors

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