-
Howdy, I'm excited about this project but confused by the initial setup. Following along with https://sql.datapage.app/your-first-sql-website/
The end result doesn't match the screenshot. The user has the following directory structure:
So I run
Here's my speculation:
Can anyone spot a mistake I've made? Thanks for reading through |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Until I understand the (likely user) error, this is satisfactory: mkdir demo
cd demo # project root
mkdir notsqlpage
cd notsqlpage
touch sqlpage.json
# edit json to `{ "web_root": "./www" }`
vim sqlpage.json
cd ../
mkdir www
cd www
touch index.sql
# copy paste user example from article
vim index.sql
cd ../
sqlpage --config-dir ./notsqlpage project directory:
|
Beta Was this translation helpful? Give feedback.
-
Hello and thank you very much for this feedback. The instructions were written for a Linux machine (where we distribute executables named thanks again! |
Beta Was this translation helpful? Give feedback.
-
That's great, thank you for the help. |
Beta Was this translation helpful? Give feedback.
-
Please let me know if I can help with testing |
Beta Was this translation helpful? Give feedback.
-
I updated the instructions, would love to know what you think ! https://sql.datapage.app/your-first-sql-website/?os=macos |
Beta Was this translation helpful? Give feedback.
-
When watching this video at 0:28 you can see there is the SQLPage file and an SQLPage folder (0:31). However, on MacOS using the homebrew installation, I only have the SQLPage file and no folder. Is that correct? Is that a problem? The video says the folders are empty, but there is a json file that I do not have. Do I need to create the folders and json file? |
Beta Was this translation helpful? Give feedback.
Hello and thank you very much for this feedback. The instructions were written for a Linux machine (where we distribute executables named
sqlpage.bin
) and I didn't realize they did not work on macos. I'll update the tutorial ASAP.thanks again!